I tried to use receive(500) to receive message, it looks work correctly. if I
use receiveNoWait, sometime works, sometimes not.
What I want to know is that there is a way to configure ActiveMQ to resolve
this problem? thanks
Gary Tully wrote:
>
> If you are using consumer.receive(), add a smal
Thanks,
Well, I used queueReceiver.receiveNoWait() method to receive message, but
this method had not this issue when I used IBM MQ as MQM. I cannot use
message listener here because it's client trigger the receiving message
behaviour.
Gary Tully wrote:
>
> If you are using consumer.receive(),
If you are using consumer.receive(), add a small timeout to give the broker
a chance to see your subscription, like receive(500). The MDB probably uses
a message listener, you could use that approach in your java client also.
2009/5/26 Websphere and ActiveMQ
>
> Right now I can receive message