Peek scheduled messages in Azure ServiceBus topic

675 Views Asked by At

How do I peek Scheduled messages in an Azure Service bus topic?

According to this post:

https://github.com/MicrosoftDocs/azure-docs/issues/59641

Scheduled messages reside in the topic until the scheduled time, and users should peek into the topic if they want to see the scheduled messages.

So I can't use the 'PeekMessagesAsync' on a 'ServiceBusReceiver'

Using a 'ServiceBusAdministrationClient' I'm able to get the number of Scheduled messages in the Topic, but I'd really like to get hold of the messages them self....

Any help would be greatly appreciated....

1

There are 1 best solutions below

3
Sean Feldman On

Short answer - you can’t peek messages based on the status. There’s a now 4 year old issue asking for this feature.