mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-23 10:52:56 +00:00
It sometimes makes sense to set an acceptor's port to 0 to allow the JVM to select an ephemeral port (e.g. in embedded integration tests). This commit adds a new getter on NettyAcceptor so tests can programmtically determine the actual port used by the acceptor. This commit also changes the ACCEPTOR_STARTED notification and the related logging to clarify the actual port value where clients can connect.