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