You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/12/27 20:40:58 UTC

[jira] [Created] (QPID-7597) Expose the bound (i.e. listening) port number on Port model object

Keith Wall created QPID-7597:
--------------------------------

             Summary: Expose the bound (i.e. listening) port number on Port model object
                 Key: QPID-7597
                 URL: https://issues.apache.org/jira/browse/QPID-7597
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Keith Wall
             Fix For: qpid-java-7.0.0


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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org