what are you using for prefetch?
if you're using receiveNoWait() there is definitely a window where the
broker is still delivering to the session's prefetch. if you happen to call
receiveNoWait when the session still hasn't seen the message, then the
consumer will return null. this is one of those
Dear Distinguished Colleagues:
I am having a strange problem where I know my queue has pending
messages on it that should be immediatley available to a
consumer.receiveNoWait call.
However, more often than not those calls return null.
On the other hand, calling receive with a small timeout s