Hi, This question is with reference to activemq cpp version 3.9.3 Once we call intialize and establish connection by calling
activemq::library::ActiveMQCPP::initializeLibrary(); x= ActiveMQConnectionFactory() ; connection = x->createConnection(xy,xz); connection->start(); and communication starts .. due to some reason if the connection to broker is lost, (like disconnected physical connection or broker stopped) what is the best way to reestablish communication in this case? what is the correct sequence... If i call connection->close(); and then reestablish everything via activemq::library::ActiveMQCPP::initializeLibrary(); x= ActiveMQConnectionFactory() ; connection = x->createConnection(xy,xz); connection->start(); communication is back but this is creating some additional threads in qnx environment. calling just connection->close(); connection->start(); doesn't reestablish the connection. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html