/session-thread-and-onException-tp14633637s2354p14633637.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
The callbacks to your application both onMessage and onException can and
do occur in the context of another thread. There is no way to turn this
off, its part of the architecture. Its up to the client application to
appropriately handle this with locking etc.
Regards
Tim.
gali_ka wrote:
Hi,
Hi,
i'm using activemq in my c++ application. I have one connection and
one
session for this connection. I see that the session
(SessionExecutor) starts
a new thread. I set my class that starts the connection and the
session to
be the exceptionListener. Does that mean that the