4.0.0 org.apache.activemq.examples.broker-connection broker-connections 2.25.0-SNAPSHOT amqp-receiving-messages jar amqp-receiving-messages ${project.basedir}/../../../.. org.apache.qpid qpid-jms-client org.apache.activemq artemis-maven-plugin create0 create ${noServer} ${basedir}/target/server0 true ${basedir}/target/classes/activemq/server0 -Djava.net.preferIPv4Stack=true create1 create ${noServer} ${basedir}/target/server1 true ${basedir}/target/classes/activemq/server1 -Djava.net.preferIPv4Stack=true start1 cli ${noServer} true ${basedir}/target/server1 tcp://localhost:5672 run server1 start0 cli true ${noServer} ${basedir}/target/server0 tcp://localhost:5660 run server0 runClient runClient org.apache.activemq.artemis.jms.example.BrokerConnectionReceiver stop0 cli ${noServer} ${basedir}/target/server0 stop stop1 cli ${noServer} ${basedir}/target/server1 stop org.apache.activemq.examples.broker-connection amqp-receiving-messages ${project.version} org.apache.maven.plugins maven-clean-plugin