4.0.0 org.apache.activemq.examples.failover broker-failover 1.3.0-SNAPSHOT stop-server-failover jar ActiveMQ Artemis JMS Stop Server Failover Example ${project.basedir}/../../../.. org.apache.activemq artemis-jms-client ${project.version} org.apache.activemq artemis-maven-plugin create0 create -Djava.net.preferIPv4Stack=true ${noServer} ${basedir}/target/server0 true false ../data true create1 create -Djava.net.preferIPv4Stack=true ${noServer} ${basedir}/target/server1 true true ../data true start0 cli ${noServer} true ${basedir}/target/server0 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.StopServerFailoverExample stop0 cli ${noServer} ${basedir}/target/server0 stop stop1 cli ${noServer} ${basedir}/target/server1 stop org.apache.activemq.examples.failover stop-server-failover ${project.version}