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
My JMS java client creates one consumer with a message selector and works
fine when receiving messages from WebSphere MQ. But seldom works when
receiving from a queue on ActiveMQ 5.3.1 and 5.4.1. Most of the time I
don't get any messages. I can consistently get it to work *IF* I am
stepping th