glad to help, and thanks for replying to close the loop.
On 15 December 2010 17:03, Stephen Vincent wrote:
> ...snip...
>> It does not poll the broker for messages unless prefetch is 0.
> ...snip...
>
>
> Gary,
>
> Thank you Gary. Not only does prefetch=0 allow me to get the
> messages,
...snip...
> It does not poll the broker for messages unless prefetch is 0.
...snip...
Gary,
Thank you Gary. Not only does prefetch=0 allow me to get the messages,
but it also caused me to inspect my code given that new knowledge. I now
realize I told a fib when I said I was only cre
are you using receiveNoWait() in your consumer? It does not poll the
broker for messages unless prefetch is 0.
So either use prefetch=0 or receive(1000), which will give some time
for the consumer to register and get a dispatch. With receiveNoWait,
it is possible to get a null return before any mes