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

Robbie Gemmell commented on ARTEMIS-3699:
-----------------------------------------

Does it work for the port-0 use case though, or would it simply return the 
'configured 0'? Ie the ask is for what is used, not what is configured, which 
may be different.

> EmbeddedActiveMQ port configuration
> -----------------------------------
>
>                 Key: ARTEMIS-3699
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3699
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Robin
>            Priority: Minor
>
> When creating an instance of EmbeddedActiveMQ the port that the broker binds 
> to is taken from the acceptor uri supplied to the configuration. Afterwards 
> there is no easy way to get the port out of the broker instance. In addition, 
> it would have been nice if one could provide 0 for port to have it start up 
> on a random available port. Could this be implemented?
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to