[jboss-user] [JBoss Messaging] - JBOSS configuration for multiple brokers.

Milochanzy do-not-reply at jboss.com
Sun Jun 22 20:48:00 EDT 2008


Hi,

I am trying to connect my application to listen to a Queue that has multiple brokers. Code below:


  |                 <entity jndiName="QueueConnectionFactory" class="progress.message.jclient.QueueConnectionFactory">
  |                         <property name="brokerURL">tcp://blah.blah1.COM:4211,tcp://blah.blah2.COM:4211,tcp://blah.blah3.COM:4211</property>
  |                         <property name="defaultUser">userID</property>
  |                         <property name="defaultPassword">password</property>
  |                         <property name="prefetchCount">3</property>
  |                         <property name="prefetchThreshold">1</property>
  |                         <property name="sequential">true</property>
  |                 </entity>
  | 
  | 

I am getting following error


  |  java.lang.NumberFormatException: For input string: "tcp://blah.blah2.COM:4211,tcp://blah.blah3.COM:4211" 
  | 

I have tested each of brokers individually and are working fine.

Please Suggest.

Thanks and Regards,
Milan.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159802#4159802

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159802



More information about the jboss-user mailing list