Your failover url should read:

String brokerUrl = "failover:(tcp://hostA:61616,tcp://hostB:61617)";


Please try that.


Torsten Mielke
tors...@fusesource.com
tmie...@blogspot.com


On Jun 29, 2012, at 1:24 PM, mickhayes wrote:

> This bit:
> 
> /String brokerUrl = "failover:(tcp://hostA, tcp://hostB)";
> 
> needs to include the port number 61617.
> 
> Does it?
> 
> 
> -----
> Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA 
> 
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/master-slave-consumer-can-not-failover-tp4653639p4653662.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.




Reply via email to