activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Create connection factory even when broker is down
Date Fri, 14 Dec 2018 14:09:26 GMT
On 12/14/18 4:54 AM, BlueSpirit wrote:
> TL;DR
> I would like to instantiate the connection factory even when the broker is
> down. How should I achieve this?
>
> I am creating a ActiveMQConnectionFactory using the following URL:
> failover:(tcp://localhost:61616)?jms.warnAboutUnstartedConnectionTimeout=30000&initialReconnectDelay=2000&maxReconnectAttempts=2&maxReconnectDelay=2000&startupMaxReconnectAttempts=1
>
> The connectionfactory object is not created if the broker is down at the
> time of creation.
>
> As I understand the failover mechanism helps in scenarios when the
> connection factory is already created and the ActiveMQ server is restarted.
>
>
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>
What error do you receive when trying to create the factory?  You need 
to provide more information here to make it clear what is happening.

-- 
Tim Bish


Mime
View raw message