Skip to content

Latest commit

 

History

History

Test-Suite

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

AMQ 7 Reference Architecture Test Suite

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.

Prerequisites

  • JDK 1.8+
  • Maven
  • OpenShift 3.X environment running broker/router topologies from correlating project.

Standalone AMQ7 Broker

Demonstrates AMQ7 queue & topic interactivity and various basic EIP patterns via JMS.

mvn -Dtest=SingleBrokerTest test

3-Node Symmetric AMQ7 Broker Cluster

Symmetric Broker Cluster Topology

Demonstrates AMQ7 queue & topic interactivity across a 3-broker symmetric cluster via JMS.

mvn -Dtest=SymmetricClusterTest test

3-Pair Master/Slave AMQ7 Broker Failover Cluster

Replication Cluster Topology

Demonstrates producing/consuming to/from queues before and after a master broker failover scenario via JMS.

mvn -Dtest=ReplicatedFailoverTest test

7-Node Interconnect Router Topology

Interconnect Topology

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