3 Replies Latest reply on Jun 23, 2008 3:01 PM by clebert.suconic

    JBOSS configuration for multiple brokers.

    milochanzy

      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.