ActiveMQ-CPP: deadlock when broker restarts and failover is used

2011-03-14 Thread chris
Hi all, we seem to have a deadlock situation when a broker shutdown happens. We're in the middle of onMessage callback and trying to call commit. The ActiveMQConsumer::dispatch method holds the unconsumedMessages lock and waits for the reconnectMutex when committing. The failover transport calls

Re: ActiveMQ-CPP: deadlock when broker restarts and failover is used

2011-03-14 Thread Oscar Pernas
This bug was reported some time ago. If you want to make a workaround, if you are consuming messages in asynchronous (by callback), change to synchronous consuming mode. In my case its resolved it. 2011/3/14 chris em...@christianhoffmann.info Hi all, we seem to have a deadlock situation when