I think I found the answer elsewhere in the forums -- I should use:

jms?failover://(tcp://masterhost:61616,tcp://slavehost:61616)?randomize=false


dajevu wrote:
> 
> Hi,
> 
> I wanted to use JMS for my NMR flow. I see the instructions indicate doing
> something like:
> 
> <sm:container flowNames="jms?jmsURL=tcp://localhost:61616/">
>   ...
> </sm:container>
> 
> I presume in the above, the jsmURL is pointing to an existing instance of
> ActiveMQ running on either a local or remote host.
> 
> However, I'd like to use the Master/Slave configuration of ActiveMQ 4.x.
> It specifies that the client would use something like this as the URL:
> 
> failover://(tcp://masterhost:61616,tcp://slavehost:61616)?randomize=false
> 
> I've tried something like this for the NRM, but it I got a stack dump:
> 
> <sm:container
> flowNames="failover://(tcp://masterhost:61616,tcp://slavehost:61616)?randomize=false">
>   ...
> </sm:container>
> 
> Can I assume that this isn't supported? Are there any other possible
> solutions? I've already got my ActiveMQ working in Master/Slave, so I'd
> prefer to use that for our HA (we have clients connecting already using
> the failover protocol).
> 
> Thanks so much in advance!
> 
> jeff
> 
> p.s., any ETA on the official 3.0 release? I think you guys are doing
> fantastic work, btw!
> 

-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-NMR-Flow-Question-tf2197576.html#a6082776
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to