Hi, Is it possible to use the failover construct in the networkConnectors uri? I have tried the following two uri values and both prevented ActiveMQ from starting with an exception.
<networkConnectors> <networkConnector uri="failover://(tcp://x.x.x.x:61618,tcp://x.x.x.x:61618)?randomize=false?useExponentialBackOff=true&maxReconnectDelay=30000"/> </networkConnectors> <networkConnectors> <networkConnector uri="static://(failover://(tcp://x.x.x.x:61618,tcp://x.x.x.x:61618)?randomize=false)?useExponentialBackOff=true&maxReconnectDelay=30000"/> </networkConnectors> Both returned the following stack trace: ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: java.l ng.IllegalArgumentException: Invalid broker URI, no scheme specified: start java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.Ill galArgumentException: Invalid broker URI, no scheme specified: start at org.apache.activemq.console.command.StartCommand.runTask(StartComman .java:98) at org.apache.activemq.console.command.AbstractCommand.execute(Abstract ommand.java:57) at org.apache.activemq.console.command.ShellCommand.runTask(ShellComman .java:143) at org.apache.activemq.console.command.AbstractCommand.execute(Abstract ommand.java:57) at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.j va:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.activemq.console.Main.runTaskClass(Main.java:251) at org.apache.activemq.console.Main.main(Main.java:107) Any ideas would be greatly appreciated. -Jonathan -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-with-networkConnectors-tp4415677p4415677.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.