Thanks for this patch. I applied it to http://stomp.fusesource.org/documentation/php/book.html which is the newer version of this PHP client.
Regards -- Dejan Bosanac - http://twitter.com/dejanb ----------------- The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net Connect at CamelOne <http://camelone.com/> May 24-26 The Open Source Integration Conference On Fri, May 13, 2011 at 7:12 PM, Tianchi <tinali...@gmail.com> wrote: > 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 = > "|^(([a-zA-Z]+)://)+\(*([a-zA-Z0-9\.:/i,-]+)\)*\??([a-zA-Z0-9=&]*)$|i"; > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/stomp-exception-when-configuring-failover-URL-tp3518843p3520718.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >