activemq-artemis/examples/features/broker-balancer/symmetric-redirect
Justin Bertram f18dd80dc8 ARTEMIS-3662 remove deprecated config from default broker.xml
The auto-create-jms-queues, auto-delete-jms-queues,
auto-create-jms-topics, and auto-delete-jms-topics address settings
were deprecated in ARTEMIS-881 way back in 2016. There's no need to keep
them in the default broker.xml at this point.
2022-02-04 13:49:32 -05:00
..
src/main ARTEMIS-3662 remove deprecated config from default broker.xml 2022-02-04 13:49:32 -05:00
pom.xml [maven-release-plugin] prepare for next development iteration 2021-12-14 22:50:55 -05:00
readme.md ARTEMIS-3365 Add broker balancers 2021-08-06 08:33:21 -04:00

readme.md

Symmetric Redirect Example

To run the example, simply type mvn verify from this directory, or mvn -PnoServer verify if you want to create and start the broker manually.

This example demonstrates how incoming client connections are distributed across two brokers using a symmetric architecture. In this architecture both brokers have two roles: balancer and target. So they can redirect or accept the incoming client connection according to the consistent hash algorithm. Both brokers use the same consistent hash algorithm to select the target broker so for the same key if the first broker redirects an incoming client connection the second accepts it and vice versa.