activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xi Yue <>
Subject How to clean up client's connection when server fails?
Date Thu, 22 Nov 2007 12:40:10 GMT

     I'm trying to build a reliable application using ActiveMQ 4.1.1 with
activemq-cpp-2.1. I followed the clean up procedure shown in the example
prog. It worked correctly if the server was present. However, problem raised
when i tried to simulate the case if the server fails and has been shut down
abnormally. After some investigation, i found that the api hanged after it
had joined the inner thread of IOTransport. It seems that it was waiting for
the thread's stop which had never happened.
     Is there anyone who knows a clean up procedure that works under both
situations, say, normal disconnection and abnormal one?
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message