problems when configuring activemq master/slave mode in URL

2011-05-13 Thread Tianchi
I am trying to use configure activemq master/slave mode in URL on client side like thg following: failover://(tcp://localhost:61213,tcp://192.168.10.8:61213)?backup=true&initalReconnectDelay=20 I am using JDBC lock system to configure the two brokers, so when the master is shut down, I wanna th

Re: stomp exception when configuring failover URL

2011-05-13 Thread Tianchi
Thanks for your quick reply. I just fixed this problem. This seems to be a bug in stomp.php http://code.google.com/p/stompcli/source/browse/trunk/src/main/php5/Stomp.php line 88: the regular expr didn’t put in & as one of the characters accepted. You can simply fix it by putting in a & $pattern

stomp exception when configuring failover URL

2011-05-12 Thread Tianchi
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:612