ActiveMQ-cpp: Check if ActiveMQ server is running

2010-12-08 Thread joost
(). Is there a way to check if a connection can be made with the ActiveMQ server before starting the connection, or maybe a timeout on CMSConnection-start() is possible? Joost -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-cpp-Check-if-ActiveMQ-server-is-running

Re: ActiveMQ-cpp: Check if ActiveMQ server is running

2010-12-08 Thread Timothy Bish
On Wed, 2010-12-08 at 05:17 -0800, joost wrote: I use ActiveMQ-cpp to make a connection with an AcitveMQ server. The CMSConnection is started with: // Create a ConnectionFactory auto_ptrConnectionFactory connectionFactory(

Re: ActiveMQ-cpp: Check if ActiveMQ server is running

2010-12-08 Thread joost
Changing the failover settings (or just disabling failover) solved the problem. Thanks! Joost -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-cpp-Check-if-ActiveMQ-server-is-running-tp3078173p3078288.html Sent from the ActiveMQ - User mailing list archive