AH!!! You know.. I think you're right! At least 99% of my tests now pass.
But it looks like the documentation is wrong :-(
http://activemq.apache.org/how-can-i-support-auto-reconnection.html
Just use the following connection URI (setting the brokerURL in the
ActiveMQConnectionFactory)
failov
you need some brackets, jms. options are not for the transport,
so use failover:(tcp://,tcp://.)?jms.prefetchPolicy.all=5
On 31 July 2014 01:07, Kevin Burton wrote:
> I'm trying to switch from tcp: to failover:tcp: for my connection string
> so that my apps will reconnect if a failed Act
here it is.. pretty basic config really.
http://pastebin.com/tZ4bU0JF
On Wed, Jul 30, 2014 at 5:11 PM, Timothy Bish wrote:
> On 07/30/2014 08:07 PM, Kevin Burton wrote:
>
>> I'm trying to switch from tcp: to failover:tcp: for my connection string
>> so that my apps will reconnect if a failed
On 07/30/2014 08:07 PM, Kevin Burton wrote:
I'm trying to switch from tcp: to failover:tcp: for my connection string
so that my apps will reconnect if a failed ActiveMQ server restarts.
All my code / tests work fine with a connection string of:
tcp://127.0.0.1:16161
(note I changed the defaul
I'm trying to switch from tcp: to failover:tcp: for my connection string
so that my apps will reconnect if a failed ActiveMQ server restarts.
All my code / tests work fine with a connection string of:
tcp://127.0.0.1:16161
(note I changed the default port)
… but if I change it to:
failover:tc