4.0.0 org.apache.activemq.examples.jms jms-examples 1.0.1-SNAPSHOT clustered-static-discovery jar ActiveMQ Artemis JMS Clustered Static Discovery Example ${project.basedir}/../../.. org.apache.activemq artemis-cli ${project.version} org.apache.activemq artemis-jms-client ${project.version} noServer true org.apache.activemq artemis-maven-plugin create0 create ${noServer} ${basedir}/target/server0 ${basedir}/target/classes/activemq/server0 create1 create ${noServer} ${basedir}/target/server1 ${basedir}/target/classes/activemq/server1 create2 create ${noServer} ${basedir}/target/server2 ${basedir}/target/classes/activemq/server2 create3 create ${noServer} ${basedir}/target/server3 ${basedir}/target/classes/activemq/server3 start0 cli ${noServer} true ${basedir}/target/server0 tcp://localhost:61616 run server0 start1 cli true ${noServer} ${basedir}/target/server1 tcp://localhost:61617 run server1 start2 cli ${noServer} true ${basedir}/target/server2 tcp://localhost:61618 run server2 start3 cli ${noServer} true ${basedir}/target/server3 tcp://localhost:61619 run server3 runClient runClient org.apache.activemq.artemis.jms.example.StaticClusteredQueueExample stop0 cli ${noServer} ${basedir}/target/server0 stop stop1 cli ${noServer} ${basedir}/target/server1 stop stop2 cli ${noServer} ${basedir}/target/server2 stop stop3 cli ${noServer} ${basedir}/target/server3 stop org.apache.activemq.examples.jms clustered-static-discovery ${project.version}