Azure-sdk-for-net: [QUERY] [ServiceBus] Analog of the NoMatchingSubscriptionException ?

Created on 5 May 2020  Â·  7Comments  Â·  Source: Azure/azure-sdk-for-net

We're trying to port our existing code to the .net core and we're stuck with detecting routing failures on topicClient.Send() calls.

By default the SendAsync() method does not throw exception if there is no subscription the message can be delivered to.
Also, there is no TopicDescriptor.EnableFilteringMessagesBeforePublishing property.

Is the functionality missing or can it be enabled somehow?

Environment:

  • net core 3.1; Microsoft.Azure.ServiceBus v4.1.3.
  • Azure ServiceBus Standard subscription.
Client Service Attention Service Bus customer-reported question

All 7 comments

Up?

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl.

@ig-sinicyn Thanks for raising this issue.

For high-throughput scenarios, we realized that having this exception would be less actionable since the queueing is not an interactive system.

We're considering instead to have a dead letter entity for a topic where messages land up when no subscription filter is met. Would that be something that would work for you?

@axisc, I'm assuming you're referring to the fall-through subscription / catch-all? If yes, probably good to link to the issue to let @ig-sinicyn read through and see if it's what he needs.

@axisc, @SeanFeldman thanks for the answer!

The #277 is a good workaround for us and I've upped it a few days ago:)

up again:)

@ig-sinicyn thanks, noted! No timelines to share yet but it's on our backlog.

Was this page helpful?
0 / 5 - 0 ratings