activemq-artemis/examples/features/federation/federated-address-divert
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-2613: Add support for DivertBindings for federated addresses 2020-02-17 12:15:18 -05:00
pom.xml Bumping artemis as 3.0 2022-09-12 15:09:31 -04:00
readme.md ARTEMIS-2613: Add support for DivertBindings for federated addresses 2020-02-17 12:15:18 -05:00

readme.md

Federated Address Divert Example

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

This example demonstrates a core multicast address deployed on two different brokers. The two brokers are configured to form a federated address mesh.

In the example we name the brokers eu-west and eu-east.

The following is then carried out:

  1. create a divert binding with a source address of exampleTopic and target address of divertExampleTopic on eu-west

  2. create a consumer on the topic divertExampleTopic on eu-west and create a producer on the topic exampleTopic on eu-east.

  3. send some messages via the producer on eu-east, and we verify the eu-west consumer receives the messages because of the divert binding demand

For more information on ActiveMQ Artemis Federation please see the federation section of the user manual.