Re: ActiveMQ onMessage() callback not async

2007-07-30 Thread sparky2708
I wonder if this has something to do with ACKs for messages processed? Ladlestein wrote: > > If you look at the javadocs for > http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/MessageListener.html > MessageListener , you'll see that the Session backing your listener won't > call onMessa

Re: ActiveMQ onMessage() callback not async

2007-07-29 Thread Ladlestein
If you look at the javadocs for http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/MessageListener.html MessageListener , you'll see that the Session backing your listener won't call onMessage while a previous onMessage invocation has yet to return. I'm puzzled why they even need to say tha

ActiveMQ onMessage() callback not async

2007-07-27 Thread sparky2708
I am finding that when I receive messages in my java client that I can only process one request at a time. It seems like the method: onMessage(Message arg) from MessageListener interface doesn't get called asynchronously. Do I need to start a thread in this method to get the async behavior that I