4.0.0
org.apache.activemq.examples.clustered
broker-clustered
2.1.0
clustered-jgroups
jar
ActiveMQ Artemis JMS Clustered JGroups Example
${project.basedir}/../../../..
org.apache.activemq
artemis-jms-client
${project.version}
org.apache.activemq
artemis-maven-plugin
create
create
org.jgroups:jgroups:3.6.0.Final
${noServer}
${basedir}/target/server0
${basedir}/target/classes/activemq/server0
-Djava.net.preferIPv4Stack=true
create1
create
org.jgroups:jgroups:3.6.0.Final
${noServer}
${basedir}/target/server1
${basedir}/target/classes/activemq/server1
-Djava.net.preferIPv4Stack=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.ClusteredJgroupsExample
stop0
cli
${noServer}
${basedir}/target/server0
stop
stop1
cli
${basedir}/target/server1
stop
org.apache.activemq.examples.clustered
clustered-jgroups
${project.version}