Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.