If I configure ActorSystem in Akka to use the emphemeral tcp port (more precisely, I will set the http port to 0), is there a way to programmatically get this port after starting ActorSystem?
Any attempts to create an actor using actorOf and then print the path to the actor show the actor referenced by the local link. In addition, I tried to register the RemoteLifeCycleEvent listener in the event stream, but this can only be done after the server starts and, therefore, misses the RemoteServerStarted event.
source
share