Thanks Oscar & Tim for your time.
It works when I followed the format specified.
Thanks & Regards
Suneel
-Original Message-
From: Oscar Pernas [mailto:os...@pernas.es]
Sent: 10 May 2011 14:57
To: users@activemq.apache.org
Subject: Re: ActiveMQ-CPP client hangs while connect
If you are using startupMaxReconnectAttempts=3, connection should not block
you. Perhaps could be the way of you are writing the address. I allways set
address like this:
failover://(tcp://localhost:61616)?startupMaxReconnectAttempts=1&initialReconnectDelay=1
and it works fine. Try it.
2011/5/1
On Tue, 2011-05-10 at 13:24 +0100, Suneel Papineni wrote:
> Hi,
>
>
>
> I am trying to connect to ActiveMQ which is not running or stopped
> through an ActiveMQ-CPP client. The application hangs while doing this
> and I need to kill the application through task manager. (i.e. getting
> hung at