activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Can not get info activeMQ broker's status.
Date Fri, 12 Feb 2016 16:44:25 GMT
On 02/12/2016 04:07 AM, Konstantin wrote:
> My C++ application uses activemq-cpp library.
> When I create connection and call *connection->start()* app hangs until the
> corresponding activemq broker is not running.
> Is there any way to know either activemq broker is running or not before
> calling *connection->start()*?
> Thanks.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Can-not-get-info-activeMQ-broker-s-status-tp4707450.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
Not really, if the broker is down then the client won't be able to
connect and will hang on start if you are using the failover transport. 
You can change options such that there are a limit on startup connection
attempts. 

-- 
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message