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 2017/01/04 16:35:58 UTC

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

     [ https://issues.apache.org/jira/browse/QPID-7597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-7597:
-----------------------------
    Status: Reviewable  (was: In Progress)

> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org