Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Service bus - get messages - REST - no content

$
0
0

Newbie question on the Azure SB Queue

I managed to get the to get the token, and can perfectly create Messages in a queue. However when trying to retrieve Messages from the queue it is rather random.

Sometimes it works, and I can retrieve a Message, but 
Most times, I get either a 204 - no content, yet in Azure i can see there are many Messages.

So why does the exact same call give different results? It seems that if I wait a couple of minutes there is a higher chance of success.

{"method":"POST","transformRequest": [ null ], "transformResponse": [ null ], "url":"http://xxx.servicebus.windows.net/gipsqueue/messages/head","headers": { "Content-Type":"application/atom+xml;type=entry;charset=utf-8","Authorization":"SharedAccessSignature sr=xxxxxxxxxxxxxxxx","Accept":"application/json, text/plain, */*" }, "data":"","timeout": {} }



Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>