Hi there,

it might be that the message processing is subject to some kind of transaction inside your app Server? In that case the message is only available to consumers when the transaction has been committed.

HTH
Andreas


On May 25, 2009, at 4:57 PM, Websphere and ActiveMQ wrote:


I have configure ActiveMQ on Websphere successfully, and it works. Now I have
some issues.

My environment is that I have J2EE MDB and Pure Java Application to use
ActiveMQ(Queue).

everytime, when I use Java client to send message to ActiveMQ, J2EE MDB can
receive message right awary and process the message.

But when J2EE Application sends message to ActiveMQ, then I run Java client to retrieve Message, most time I can not get the message immediately, have to run java client many times, or I have to run J2EE application to send
message again.

I don't know why it happens, do I need to configure something on ActiveMQ?
--
View this message in context: 
http://www.nabble.com/Anyone-knows-how-to-configure-ActiveMQ--tp23708316p23708316.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Reply via email to