http://activemq.apache.org/failover-transport-reference.html doesn't show any examples of spaces and newlines being legal characters in a brokerURL attribute; are you sure what you're doing is valid syntax? I personally haven't tried it that way so I can't say for sure it wouldn't work, but it's the first thing I'd check...
Tim On Mon, Mar 2, 2015 at 12:27 PM, arun196 <arun.bi...@gmail.com> wrote: > I get invalid broker URL with below configuration. Help please? > > <Resource name="jms/mqConnectionFactory" > auth="Container" > type="org.apache.activemq.ActiveMQConnectionFactory" > description="JMS Connection Factory" > factory="org.apache.activemq.jndi.JNDIReferenceFactory" > brokerURL="failover:( > > > tcp://localhost:61616?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4, > > > tcp://localhost:61617?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4, > > > tcp://localhost:61618?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4)" > /> > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/invalid-broker-url-tp4692311.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >