4.0.0 org.apache.activemq.examples.broker jms-examples 1.0.1-SNAPSHOT divert jar ActiveMQ Artemis JMS Divert Example ${project.basedir}/../../../.. org.apache.activemq artemis-server ${project.version} org.apache.activemq artemis-jms-client ${project.version} org.apache.activemq artemis-maven-plugin create0 create ${noServer} org.apache.activemq.examples.broker:divert:${project.version} ${basedir}/target/server0 ${basedir}/target/classes/activemq/server0 create1 create ${noServer} org.apache.activemq.examples.broker:divert:${project.version} ${basedir}/target/server1 ${basedir}/target/classes/activemq/server1 start0 cli ${noServer} true tcp://localhost:61616 run server0 start1 cli ${noServer} true ${basedir}/target/server1 tcp://localhost:61617 run server1 runClient runClient org.apache.activemq.artemis.jms.example.DivertExample stop0 cli ${noServer} ${basedir}/target/server0 stop stop1 cli ${noServer} ${basedir}/target/server1 stop org.apache.activemq.examples.broker divert ${project.version}