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

Dynamic Failover Client Connection Params Broker Side Attribute

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.8.0
    • Broker
    • None

    Description

      Given that dynamic failover allows for the addition and removal of brokers from a list of available connections at the client, I would suggest that an attribute be made available on the broker to define what connection options a client should use when connecting to a given broker.

      Therefore a client with the following list of connections:

      Client connect string

      • failover://(tcp://somebrokerA:61616,tcp://somebrokerB:61616)

      And a broker with the following

      • (NEW) clusterClientsConnectionParams="useCompression=true"

      Would result in a client with the following connection list:

      • tcp://somebrokerA:61616?clusterClientsConnectionParams="useCompression=true"
      • tcp://somebrokerB:61616?clusterClientsConnectionParams="useCompression=true"

      And should a new broker be added to the cluster (if this option was set on each broker):

      • tcp://somebrokerA:61616?clusterClientsConnectionParams="useCompression=true"
      • tcp://somebrokerB:61616?clusterClientsConnectionParams="useCompression=true"
      • tcp://somebrokerC:61616?clusterClientsConnectionParams="useCompression=true"

      Thanks,
      Scott ES
      http://fusesource.com

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sully6768 Scott England-Sullivan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: