Re: Create connection factory even when broker is down
Your use of maxReconnectAttempts=2 seems inconsistent with your stated goal
of being able to connect to a broker that's not available when the
connection factory is created. What are you trying to accomplish with that
setting, and if you remove it do you get the expected behavior?
On Fri, Dec 14, 2018, 7:09 AM Timothy Bish <tabish121@xxxxxxxxx wrote:
> On 12/14/18 4:54 AM, BlueSpirit wrote:
> > TL;DR
> > I would like to instantiate the connection factory even when the broker
> > down. How should I achieve this?
> > I am creating a ActiveMQConnectionFactory using the following URL:
> > 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
> > --
> > Sent from:
> 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