Get Oldest Message in the Azure Service Bus Subscription

0 votes
Is there a method to get the oldest queued message in a subscription without having to go through all of the messages and use getEnqueuedTimeUTC? The difficulty with this strategy is that if you don't finish the message, it will return to the top of the queue. In essence, I'll be stuck in an endless circle.

What is the best way to locate the oldest message in my subscription?
Mar 16 in Azure by Edureka
• 5,760 points
22 views

1 answer to this question.

0 votes
The first message enqueued will be the first to be processed (if it was not previously scheduled). Peeking the queue with the PeekAsync() function of the queue or subscription clients will provide you information about the message, including the time it was enqueued.
answered Mar 26 by Edureka
• 5,460 points

Related Questions In Azure

0 votes
1 answer

What is the difference between "Azure Web app" and "Azure App Service"?

Azure App Services Azure App Services is a ...READ MORE

answered Mar 8 in Azure by Edureka
• 5,760 points
25 views
0 votes
1 answer
0 votes
1 answer

How to get the percentage of the predicted labels in Azure Custom Vision?

It's calculated in the same way, except ...READ MORE

answered Mar 26 in Azure by Edureka
• 5,460 points
27 views
0 votes
1 answer

Azure Pricing Calculator for Hours in Cloud Service

The best method to understand Cloud Service ...READ MORE

answered Mar 29 in Azure by Edureka
• 5,460 points
27 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP