I am deploying a Java App to WF27 running in docker via compose.
Currently I'm using an edited standalone-full.xml with -b 0.0.0.0
Deployment works and the client can connect to it, but the http-connector uses the container ID, so any attempt to
topicConnection = tcf.createTopicConnection();
results in
org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector createConnection
ERROR: AMQ214016: Failed to create netty connection
java.net.UnknownHostException: 56b656a0bdd5
56b656a0bdd5 being the container ID.
The only thing addressing this directly is
https://conciso.de/zugriff-auf-jms-queues-in-einem-docker-container/ (German) saying to assign the public IP of the wildfly container at startup instead of 0.0.0.0
Others suggest to put the container ID into the hosts file. Neither of which work for me.
As always: any pointers are appreciated and the likelihood is high i misunderstood something.