You need to have the options outside the parentheses, there should be samples on the failover uri page.
On Sep 8, 2011, at 17:58, joe smith <water4...@yahoo.com> wrote: > Could not start connection when using the following URL pattern: > > failover:(tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch=1,tcp://localhost:62616?jms.prefetchPolicy.queuePrefetch=1) > > When prefetchPolicy is removed, connection started normally. > > Broker version: 5.4.2 > Java client library > JVM 1.6 > > We do not access to the client code and can only pass in configs via url. > > Thanks for any help.