Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Resubmit deadletter message to subcription

$
0
0

Hi

We have a scenario where a message fails multiple times for a particular subscriber and is sent to the deadletter queue. Particular deadletter messages we want to resubmit to the particular subscriber at a later time.

I cannot see a way to do this. I try to resubmit to the subscriber's queue doing something like the following:

var subscriptionPath = SubscriptionClient.FormatSubscriptionPath(topicName, subscriptionName);
var client = QueueClient.CreateFromConnectionString(connectionString, subscriptionPath);
client.Send(brokeredMessage);

But this causes an Invalid Operation exception with message Cannot open a Queue client for entity type Subscriber.

I'm able to resubmit it to the topic, but that means all subscribers receive it, so I don't want to do this.

How do I do this? If I'm not able to, what is recommended instead?

Thanks


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>