activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbs1982 <satyajit.sa...@sac.com>
Subject is ISession thread safe?
Date Wed, 21 Jan 2009 18:26:57 GMT

If one thread in my app is trying to create a temporary topic and I already
have a few consumers(listening on other temp topics & processesing incoming
messages on their respective call back methods i.e listeners) open. Now
trying to call the close method of one of these consumers causes my app to
go into deadlock. 


is there some know issue of close method of consumers locking? 

I looked at the code in the MessageConsumer..the first statement is
lock(this). 
Some articles are out there saying that locking on this is unsafe? 

-- 
View this message in context: http://www.nabble.com/is-ISession-thread-safe--tp21589189p21589189.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message