4.0.0 org.apache.activemq.examples.clustered broker-clustered 1.3.0-SNAPSHOT client-side-load-balancing jar ActiveMQ Artemis JMS Client Side Load Balancing Example ${project.basedir}/../../../.. org.apache.activemq artemis-jms-client ${project.version} org.apache.activemq artemis-maven-plugin create0 create ${noServer} ${basedir}/target/server0 true -Djava.net.preferIPv4Stack=true create1 create ${noServer} ${basedir}/target/server1 true 1 -Djava.net.preferIPv4Stack=true create2 create ${noServer} ${basedir}/target/server2 true 2 -Djava.net.preferIPv4Stack=true start0 cli true ${noServer} ${basedir}/target/server0 tcp://localhost:61616 run server0 start1 cli ${noServer} true ${basedir}/target/server1 tcp://localhost:61617 run server1 start2 cli ${noServer} true ${basedir}/target/server2 tcp://localhost:61618 run server2 runClient runClient org.apache.activemq.artemis.jms.example.ClientSideLoadBalancingExample 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.clustered client-side-load-balancing ${project.version}