activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Gomes <>
Subject Re: Is Apache.NMS.ISession thread safe?
Date Tue, 03 Feb 2009 01:23:51 GMT
There are currently a couple of JIRA issues related to threading issues.  I
have not verified these, nor have I run across them in my own usage
patterns.  However, they may be related to whatever issues you may be
experiencing.  Take at look at them and see if they might help you diagnose
your issues:


On Wed, Jan 21, 2009 at 9:41 AM, sbs1982 <> wrote:

> 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:
> Sent from the ActiveMQ - Dev mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message