[ https://issues.apache.org/jira/browse/ARTEMIS-3699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499031#comment-17499031 ]
Justin Bertram commented on ARTEMIS-3699: ----------------------------------------- What do you mean by "there is no easy way to get the port out of the broker instance"? Also, what's the use-case for starting on a random port? It would be difficult for clients to connect in that case. > 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)