activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Now another problem appears
Date Wed, 27 May 2009 10:46:01 GMT
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 from ActiveMQ on linux by Java Client, but
> I
> have to run java client many many times, then I can receive the message.
> However, J2EE MDB hasn't this problem, every times I use Java client to
> send
> message, it can receive message on time.
> I use default setting for ActiveMQ.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


Open Source SOA

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message