Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-5930

activemq5.11.1 how to load balance

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 5.11.1
    • Fix Version/s: 5.11.1
    • Component/s: JMS client
    • Labels:
      None
    • Environment:

      linux 2.6.18-238.el5

      Description

      I use two machines to build a distributed load balance, but the client is not balanced, ten client ,but ont connect avtivemq1,others connect activemq2, how should the configuration?
      My configuration is as follows: client: "failover:(tcp://192.168.106.240:61616?wireFormat.maxInactivityDuration=0,tcp://192.168.106.241:61616?wireFormat.maxInactivityDuration=0)" randomize default is TRUE. servse:
      <transportConnectors>
      <transportConnector
      name="openwire" uri="tcp://192.168.106.241:61616"
      updateClusterClients="true" rebalanceClusterClients="true" />
      </<transportConnectors>
      Where configuration errors?or what is the meanning of Load balancing?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              AKGavin AKGavin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: