View Azure ServiceBus queue content

0

I'd like to see the messages (and their content) that are in one of the ServiceBus queues. By azure site I can see all the ServiceBus queues, how many items each have, their size (in bytes) and even some graphics of the activity in the queue over time, but I do not know if I can see each item in the queue.

There's a question just like this in the SO , but the last answer is 2013, so I hope it has something new since then.

    
asked by anonymous 23.08.2016 / 20:51

1 answer

0

Via programming:

this.receiveClient = QueueClient.CreateFromConnectionString(connectionString, queueName, ReceiveMode.PeekLock);

receiveClient.OnMessageAsync(
        async message =>
        {
            ... the handling code is explained below ...
        },
        new OnMessageOptions {AutoComplete = false, MaxConcurrentCalls = 1});

More examples: link

Without programming: link

    
05.01.2017 / 03:41