We are testing our C++ Windows application. We pointed to an IP Address where
there was no ActiveMQ server running. Bleow is the code snipet. The
brokerURI is failover:(tcp://192.168.14.100:61616)
we also tried tcp://192.168.14.100:61616
createConnection always comes back with no issues. When we execute start the
application hangs. Never comes back. Is there a setting to kill start if it
doesnt find a server/connection?
auto_ptr<ConnectionFactory> connectionFactory(
ConnectionFactory::createCMSConnectionFactory( brokerURI ) );
// Create a Connection
if(useauthentication)
connection =
connectionFactory->createConnection(UserName,Password);
else
connection = connectionFactory->createConnection();
connection->start();
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Windows-C-Hang-on-connection-Start-creating-a-producer-tp3306988p3306988.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.