activemq-artemis/examples/features/connection-router/symmetric-redirect
Clebert Suconic 4ad830fb95 Bumping artemis as 3.0
After removing ActiveMQ Artemis rest (per ARTEMIS-3987), we should start promoting Artemis as 3.0
2022-09-12 15:09:31 -04:00
..
src/main ARTEMIS-3708 Collapse key transformer into policy 2022-03-21 19:34:48 -04:00
pom.xml Bumping artemis as 3.0 2022-09-12 15:09:31 -04:00
readme.md ARTEMIS-3660 - rename broker-balancer to connection-router 2022-03-01 11:15:16 +01: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: router 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.