4.0.0
org.apache.activemq.examples.clustered
broker-clustered
2.22.0-SNAPSHOT
symmetric-cluster
jar
ActiveMQ Artemis JMS Symmetric Cluster Example
${project.basedir}/../../../..
org.apache.activemq
artemis-jms-client
${project.version}
org.apache.activemq
artemis-maven-plugin
create0
create
${noSever}
${basedir}/target/server0
${basedir}/target/classes/activemq/server0
-Dudp-address=${udp-address} -Djava.net.preferIPv4Stack=true
create1
create
${noSever}
${basedir}/target/server1
${basedir}/target/classes/activemq/server1
-Dudp-address=${udp-address} -Djava.net.preferIPv4Stack=true
create2
create
${noSever}
${basedir}/target/server2
${basedir}/target/classes/activemq/server2
-Dudp-address=${udp-address} -Djava.net.preferIPv4Stack=true
create3
create
${noSever}
${basedir}/target/server3
${basedir}/target/classes/activemq/server3
-Dudp-address=${udp-address} -Djava.net.preferIPv4Stack=true
create4
create
${noSever}
${basedir}/target/server4
${basedir}/target/classes/activemq/server4
-Dudp-address=${udp-address} -Djava.net.preferIPv4Stack=true
create5
create
${noSever}
${basedir}/target/server5
${basedir}/target/classes/activemq/server5
-Dudp-address=${udp-address} -Djava.net.preferIPv4Stack=true
start0
cli
${noSever}
true
${basedir}/target/server0
tcp://localhost:61616
run
server0
start1
cli
${noSever}
true
${basedir}/target/server1
tcp://localhost:61617
run
server1
start2
cli
${noSever}
true
${basedir}/target/server2
tcp://localhost:61618
run
server2
start3
cli
${noSever}
true
${basedir}/target/server3
tcp://localhost:61619
run
server3
start4
cli
${noSever}
true
${basedir}/target/server4
tcp://localhost:61620
run
server4
start5
cli
${noSever}
true
${basedir}/target/server5
tcp://localhost:61621
run
server5
runClient
runClient
org.apache.activemq.artemis.jms.example.SymmetricClusterExample
stop0
cli
${noSever}
${basedir}/target/server0
stop
stop1
cli
${noSever}
${basedir}/target/server1
stop
stop2
cli
${noSever}
${basedir}/target/server2
stop
stop3
cli
${noSever}
${basedir}/target/server3
stop
stop4
cli
${noSever}
${basedir}/target/server4
stop
stop5
cli
${noSever}
${basedir}/target/server5
stop
org.apache.activemq.examples.clustered
symmetric-cluster
${project.version}
org.apache.maven.plugins
maven-clean-plugin