[
https://issues.apache.org/jira/browse/QPID-7597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rudyy resolved QPID-7597.
------------------------------
Resolution: Fixed
The changes look good to me
> 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
> Assignee: Keith Wall
> Fix For: qpid-java-7.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: [email protected]
For additional commands, e-mail: [email protected]