Below is the scenario where we are having the problem... The client application tries to connect to the activemq broker which is down, and after n number of retries it does not retry and just waits on a condition...
#1 0x00007f52104162d7 in decaf::internal::util::concurrent::ConditionImpl::wait(decaf::util::concurrent::ConditionHandle*) () from /apps/rbm_ha/tools/activemq-cpp-library-3.4.5//lib/libactivemq-cpp.so.14 #2 0x00007f521046ce8f in decaf::util::concurrent::CountDownLatch::await() () from /apps/rbm_ha/tools/activemq-cpp-library-3.4.5//lib/libactivemq-cpp.so.14 #3 0x00007f5210317c9d in activemq::transport::correlator::FutureResponse::getResponse() () from /apps/rbm_ha/tools/activemq-cpp-library-3.4.5//lib/libactivemq-cpp.so.14 #4 0x00007f521031711f in activemq::transport::correlator::ResponseCorrelator::request(decaf::lang::Pointer<activemq::commands::Command, decaf::util::concurrent::atomic::AtomicRefCounter> const&) () from /apps/rbm_ha/tools/activemq-cpp-library-3.4.5//lib/libactivemq-cpp.so.14 #5 0x00007f521025c86b in activemq::core::ActiveMQConnection::syncRequest(decaf::lang::Pointer<activemq::commands::Command, decaf::util::concurrent::atomic::AtomicRefCounter>, unsigned int) () from /apps/rbm_ha/tools/activemq-cpp-library-3.4.5//lib/libactivemq-cpp.so.14 #6 0x00007f521025d122 in activemq::core::ActiveMQConnection::ensureConnectionInfoSent() () from /apps/rbm_ha/tools/activemq-cpp-library-3.4.5//lib/libactivemq-cpp.so.14 #7 0x00007f521025d69d in activemq::core::ActiveMQConnection::start() () from /apps/rbm_ha/tools/activemq-cpp-library-3.4.5//lib/libactivemq-cpp.so.14 Can anyone please help me in telling as to why it waiting on the above condition, and what we need to do in order for the thread to not wait on the condition. -- View this message in context: http://activemq.2283324.n4.nabble.com/Application-getting-suspended-tp4686423.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.