I have implemented message queue receiving follwing the example in the documentation here https://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-queues/.
I have noticed that even if the queue contains messages, the service.receiveQueueMessage() does not get it.
I have done the same test using .NET c# and it works really fine: it is fast, does not require polling.
Why the Java implementation sometime receive queue messages and sometimes not?
I have implemented message queue receiving follwing the example in the documentation here https://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-queues/.
I have noticed that even if the queue contains messages, the service.receiveQueueMessage() does not get it.
I have done the same test using .NET c# and it works really fine: it is fast, does not require polling.
Why the Java implementation sometime receive queue messages and sometimes not?