0

The message is posted to the service bus from Java code and while checking in Azure portal -> service bus -> Possible to see the incoming and successful request.

I have been trying to see the Azure posted message using 'Service Bus Explorer'.

But not able to see the message though there is no issues in Azure portal -> service bus.

I am suspecting about configuration or access restriction. Since I am new to Azure Service Bus, not able to proceed how to process further.

Any help will be greatly appreciated.

Anand Sowmithiran
  • 2,591
  • 2
  • 10
  • 22
RagaSGNur
  • 199
  • 1
  • 2
  • 15
  • In Azure Portal, there is a menu to "peek messages", tried that? If you have any message consumers running for that queue/topic already, it would have got 'consumed'. BTW, you did not mention whether you sent to a queue or topic. – Anand Sowmithiran Jan 11 '23 at 14:34
  • Actually , this message will be consumed by other application. In order to test that I used Service Explorer to view the message. The message is sent to topic. – RagaSGNur Jan 11 '23 at 14:35
  • If that consumer application has received the message and marked it as 'consumed', it will no longer appear in Azure portal. See about `receive mode` [here](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions#receive-modes) – Anand Sowmithiran Jan 11 '23 at 14:38

1 Answers1

2

I do agree with @Anand Sowmithiran that,

If that consumer application has received the message and marked it as 'consumed', it will no longer appear in Azure portal.

If the Consumer didn't do that then we can check messages as below process: Firstly, open Service bus then click on Topic as below:

enter image description here

Then click on peek messages as below :

enter image description here

If the message is not sent/failed because of any reason you can check as below:

enter image description here

if the message is in receive mode then you should give session id as correctly as below:

enter image description here

After Clicking on Receive:

enter image description here

RithwikBojja
  • 5,069
  • 2
  • 3
  • 7
  • 1
    Thanks all for the details reply. But the actual issue is in Service Bus. Dropping off the service bus and recreation of the service bus worked. – RagaSGNur Jan 16 '23 at 09:11
  • I am glad that it worked out and my information might be helpful for similar issues. – RithwikBojja Jan 16 '23 at 09:18