5 Replies Latest reply on Nov 27, 2009 7:07 PM by Vinay Pothnis

    Problem with Connection Load Balancing

    Vinay Pothnis Newbie


      I have a cluster of 3 HornetQ servers with server discovery. I have 'cluster connection' set up and the following is the configuration in hornetq-jms.xml.

       <connection-factory name="ConnectionFactory">
       <discovery-group-ref discovery-group-name="dg-group1"/>
       <entry name="ConnectionFactory"/>

      On the client side, I create 3 connections and from these I create 12 consumers/message listeners.

      But, the connections and listeners do not get load balanced always. Some times they are load balanced but some times they are not.

      What could be the cause for this?