4.0.0 org.apache.activemq.examples.federation broker-federation 2.16.0 federated-address jar ActiveMQ Artemis Federated Address Example ${project.basedir}/../../../.. org.apache.activemq artemis-jms-client ${project.version} org.apache.activemq artemis-maven-plugin create0 create ${noServer} ${basedir}/target/server0 ${basedir}/target/classes/activemq/server0 -Djava.net.preferIPv4Stack=true create1 create ${noServer} ${basedir}/target/server1 ${basedir}/target/classes/activemq/server1 -Djava.net.preferIPv4Stack=true create2 create ${noServer} ${basedir}/target/server2 ${basedir}/target/classes/activemq/server2 -Djava.net.preferIPv4Stack=true start0 cli ${noServer} true ${basedir}/target/server0 tcp://localhost:61616 run eu-west-1 start1 cli ${noServer} true ${basedir}/target/server1 tcp://localhost:61617 run eu-east-1 start2 cli ${noServer} true ${basedir}/target/server2 tcp://localhost:61618 run us-central-1 runClient runClient org.apache.activemq.artemis.jms.example.FederatedAddressExample stop0 cli ${noServer} ${basedir}/target/server0 stop stop1 cli ${noServer} ${basedir}/target/server1 stop stop2 cli ${noServer} ${basedir}/target/server2 stop org.apache.activemq.examples.federation federated-address ${project.version} org.apache.maven.plugins maven-clean-plugin