its simple, all I do is: activemq::library::ActiveMQCPP::initializeLibrary(); itsConnectionFactory = new ActiveMQConnectionFactory(brokerURI); itsConnection = itsConnectionFactory->createConnection();
and at that point 'createConnection', the first NoSuchElementException appears... (it comes from: connection.reset( new ActiveMQConnection( transport, properties ) ) in file ActiveMQConnectionFactory.cpp) then I do: itsConnection->start(); after this I get 30 more.... Søren -- View this message in context: http://old.nabble.com/CMS-3.1-NoSuchElementException-with-failover-tp27125879p27128739.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.