session thread and onException

2008-01-05 Thread gali_ka
/session-thread-and-onException-tp14633637s2354p14633637.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: session thread and onException

2008-01-05 Thread Timothy Bish
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:

Re: session thread and onException

2008-01-05 Thread Nathan Mittler
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