activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: How to use updateURIsURL?
Date Mon, 23 Jul 2012 12:12:19 GMT
That is a client side option, the failover doco has that in the wrong
place, I just fixed it.
see http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverUpdateURIsTest.java?view=markup
for an example of usage.

failover:()?updateURIsURL=file:///xxx

where the comma separated list of urls is in xxx

On 23 July 2012 12:24, Eugene Brian Ong <lostincomputer@gmail.com> wrote:
> How to use updateURIsURL?
>
> I tried doing these but nothing worked:
>
> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"
> updateURIsURL="${activemq.base}/conf/failover.txt"/>
> Result: configuration parsing exception
>
> <transportConnector name="openwire" uri="tcp://
> 0.0.0.0:61616?updateURIsURL=${activemq.base}/conf/failover.txt"/>
> Result: text file isn't read - configuration ignored
>
> <transportConnector name="openwire" uri="failover:tcp://
> 0.0.0.0:61616?updateURIsURL=${activemq.base}/conf/failover.txt"/>
> Result: configuration parsing exception
>
> Thanks



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message