users@genericjmsra.java.net

Re: Re: Activemq failover protocol in glassfish

From: <kneumei_at_gmail.com>
Date: Thu, 20 Jan 2011 15:08:39 +0000 (GMT)

Nigel,
Thanks for the quick reply. I have tried escaping the comma with a
backslash:

ConnectionFactoryProperties=brokerURL\=failover\:(tcp\://127.0.0.1\:616
16\,tcp\://127.0.0.1\:61617)

But I get the same result: java.lang.StringIndexOutOfBoundsException:
String index out of range: -1

I'm going to check out the code to see if I can find a way to make the
delimination character for ConnectionFactoryProperties configurable but
with a default of a comma unless someone has a better suggestion.

Also, sorry for the multiple posts. java.net was being a bit buggy.

-Kyle