activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tianchi <tinali...@gmail.com>
Subject stomp exception when configuring failover URL
Date Thu, 12 May 2011 22:00:36 GMT
Hi,

I am using ServiceMix ESB, version: apache-servicemix-4.3.1-fuse-01-09 and
activemq 5.4.2.fuse-03-09 and trying to set up failover for two queues using
JDBC lock system. On the PHP client side, I used the following command to
make a connection: 

$con=new
stomp("failover://(tcp://localhost:61213,tcp://192.168.10.8:61213)?randomize=false");

It works perfectly. 

But when I tried to use more than one transport options like: 

$con=new
stomp("failover://(tcp://localhost:61213,tcp://192.168.10.8:61213)?randomize=false&backup=true");

It throws an exception: 
StompException: Bad Broker URL
failover://(tcp://localhost:61213,tcp://192.168.10.8:61213)?randomize=false&backup=true

Anyone has idea on how to fix it? 

Thanks.



--
View this message in context: http://activemq.2283324.n4.nabble.com/stomp-exception-when-configuring-failover-URL-tp3518843p3518843.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message