Hi,

try retrieving the transport connectors (BrokerService - getTransportConnectors() ) from the broker then we should be able to get the port from TransportConnector - getConnectUri().getPort() for each of the connectors configured to the broker.


Regards,
Jonas


Motl wrote:
Hi,

When creating a BrokerService, zero port could be specified,  telling the
broker application to bind on any free port.
Is it possible to retrieve the assigned port afterwards?

Reply via email to