Seems to be working great - thanks!

Marko


Justin Bertram wrote:
> I believe you should just need to specify a non-zero value for
reconnectAttempts, e.g.:
>
>
 ActiveMQClient.createServerLocator("tcp://myhost:61616?reconnectAttempts=10");
>
> Or you can invoke setReconnectAttempts() on the ServerLocator object
before you use it.
>
> There's a couple of other parameters you can configure to control
reconnection (e.g. retryInterval,
> retryIntervalMultiplier).
>
> You can also check out the "reattach-node" example shipped with Artemis
to see a working example.
>
>
> Justin

Reply via email to