activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nereus Chen <>
Subject Re: Acknowledge messages
Date Mon, 28 Mar 2011 11:25:53 GMT
I suggest you to use a session independently in every thread which is
contained  by a excutor.

and cannot share the session by multi threads.

In the thread  you can use the consumer.receive()  method  rather then the
linstener's  onMessage().

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message