activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrique Magarotto <magaro...@gmail.com>
Subject Re: ACTIVEMQ-CPP. Which broker is chosen in a failover URI.
Date Fri, 11 Mar 2011 22:50:45 GMT
Try "randomize" option:
ipbroker="failover://(tcp://localhost:61616,tcp://sig-hormes10:61616)?randomize=false"

regards
Henrique

2011/3/11 Oscar Pernas <oscar@pernas.es>
>
> I have an URI like this:
>
> ipbroker="failover://(tcp://localhost:61616,tcp://sig-hormes10:61616)"
>
> Sometimes when I start the application, the consumer starts to consume to
> the second IP instead the first one. Why?
>
> I've tested using initial reconnect delay but with the same issue.
>
> --
> Óscar Pernas Plaza.

Mime
View raw message