Question

Is it possible to send a message directly to a Subscription queue?

Scenario:

A message failed, dropped onto the deadletter, the message has been picked up manually using defer, cloned and needs to be sent to the queue it was first deadlettered on, but NOT the topic.

Can I send a message directly to a subscriber?

I've considered creating a separate retry queue per subscriber, where the handling service will also receive messages from but i'd rather not do this.

Was it helpful?

Solution

this is a similar question to the one you asked earlier: Azure Service Bus Subscriber Deadletter

this is not possible, as far as I know. the only thing you could do is to add an extra filter on every subscription that has something like SubscriptionName='SubscriptionA'. If you then want to send you deadlettered message to the specific subscription, you can add a property SubscriptionName to it, to achieve your goal. Take into account that you also have to make sure that in your original filter, you add a condition to indicate that the property SubscriptionName should not exist.

I agree however, that it would be a nice scenario to 'undeadletter' a message, so that it ends up again in his original subscription.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top