Re: deadlock while publishing a message.

2007-09-12 Thread Rob Davies
yes - async is true could help - as its embedded - I'd be interested in the stack trace of all the threads - so we can work out why this is happening cheers, Rob http://rajdavies.blogspot.com/ On Sep 12, 2007, at 7:25 AM, Jim Alateras wrote: Rob, Using the embedded broker but couldn'

Re: deadlock while publishing a message.

2007-09-11 Thread Jim Alateras
Rob, Using the embedded broker but couldn't locate the thread holding the lock. The problem is that it is blocking the client thread. If i use something like async=true then will the delivery happen in a separate thread? cheers Rob Davies wrote: the client is waiting for a response from the

Re: deadlock while publishing a message.

2007-09-11 Thread Rob Davies
the client is waiting for a response from the broker - what's the broker doing whilst you are doing this ? cheers, Rob 'Go Get Integrated - ride the Camel! - http://activemq.apache.org/ camel/' http://rajdavies.blogspot.com/ On Sep 11, 2007, at 11:27 PM, Jim Alateras wrote: I am using

deadlock while publishing a message.

2007-09-11 Thread Jim Alateras
I am using activemq 5.0-SNAPSHOT with a current project and have just come across a situation where a thread blocks indefinitely trying to publish a message. It happens during the session commit The method ActiveMQDispatcherClient.dispatch is synchronized. Here is the stack trace. Thread [poo