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

Expose transport connector URIs in uniform fashion

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Right now we have JMX methods like getOpenWireURL() for getting addresses of transport connectors. This API is not particularly nice and doesn't scale well when new transports are added.

      So we should deprecate these methods and introduce new ones:

      • Map<String, String> getTransportConnectors() - that returns all connectors with name as a key
      • public String getTransportConnectorByType(String type) - that returns a connector address for a certain prefix/type (like tcp, stomp, ws and such)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dejanb Dejan Bosanac
                Reporter:
                dejanb Dejan Bosanac
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: