[ 
https://issues.apache.org/jira/browse/QPID-7597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15781232#comment-15781232
 ] 

ASF subversion and git services commented on QPID-7597:
-------------------------------------------------------

Commit 1776191 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1776191 ]

QPID-7597: [Java Broker] Expose Port#boundPort

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to