Use the following URL option to avoid hanging on startup when using the
failover transport.
activemq:failover:tcp://activemqhost:61616*
?transport.StartupMaxReconnectAttempts=3*
Set the startup max reconnect attempts to whatever number you want. It
will eventually stop trying at start up. Once
On 07/30/2013 11:59 PM, yq8925 wrote:
In NMS.ActiveMQ1.5.6 and 1.6.0, if target JMS server URL is invalid or no
responsible, the client program will be hung at code "ISession session =
connection.CreateSession(AcknowledgementMode.AutoAcknowledge)".
The "connection.RequestTimeout" does not work h