Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7597

Expose the bound (i.e. listening) port number on Port model object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      When a HTTP or AMQP Port is configured to dynamically assign its own port number (with port = 0), the caller needs means to discover which port number has been chosen for a newly created port.

      Add a derived attribute Port#boundPort to expose it.

      When a dynamically allocated port number is not in use, boundPort will simply reflect the same value as port.

      This will be useful when the Broker is embedded and when Ports are dynamically created through HTTP or AMQP management.

      Attachments

        Activity

          People

            kwall Keith Wall
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: