activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Does'nt work to specify brokerurls with more than one param using &
Date Tue, 08 Dec 2009 17:05:36 GMT
On Tue, Dec 8, 2009 at 3:30 AM, forda <daniel.forberg@bredband.net> wrote:
>
> Hi !
>
> We are using the failover transport, specifying serveral brokers with more
> than one parameter
> per each url does'nt work, throws a PropertyIndex exception or something
> similiar. I read about
> this in the forum, but nowone seems to have an answer on that issue. Does'nt
> matter if i use the
> TCPTransport or the OpenWire protocol.
>
> failover:(broker1?param1&param2, broker2?param3&param4)?param5
>
> Should'nt this work ? If not howto?

Below is a general example of a composite URI using the failover
transport with a few parameters:

failover://(tcp://brokerA:61616,tcp://brokerB:61616)?initialReconnectDelay=300&randomize=false&maxReconnectAttempts=10

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message