AMQ7 RefArch test suite using JMS to showcase various broker uses, clustering, high-availability & interconnect routing features. The included tests are, in essence, runner scripts that are best consumed individually to understand the aspect showcased within each.
- JDK 1.8+
- Maven
- OpenShift 3.X environment running broker/router topologies from correlating project.
Demonstrates AMQ7 queue & topic interactivity and various basic EIP patterns via JMS.
mvn -Dtest=SingleBrokerTest test
Demonstrates AMQ7 queue & topic interactivity across a 3-broker symmetric cluster via JMS.
mvn -Dtest=SymmetricClusterTest test
Demonstrates producing/consuming to/from queues before and after a master broker failover scenario via JMS.
mvn -Dtest=ReplicatedFailoverTest test
Demonstrates various Interconnect routing mechanisms across a topology featuring several inter-router connections and multiple endpoint listeners for client connectivity via JMS.
- Direct produce/consume:
mvn -Dtest=InterconnectTest#testSendDirect test
- Multicast from a single producer to 4 consumers:
mvn -Dtest=InterconnectTest#testSendMulticast test
- Balanced multi-consumer distribution with equal route weight:
mvn -Dtest=testSendBalancedSameHops test
- Balanced multi-consumer distribution with differentiating route weight:
mvn -Dtest=testSendBalancedDifferentHops test
- Single-consumer routing to closest consumer based on origin point:
mvn -Dtest=testSendClosest test