commit | 46e506ee9e2aed70444baa684fff8fd4b62c0cd2 | [log] [tgz] |
---|---|---|
author | Timothy Bish <tabish121@gmail.com> | Thu Feb 29 11:47:00 2024 -0500 |
committer | Robbie Gemmell <robbie@apache.org> | Thu Feb 29 17:03:59 2024 +0000 |
tree | f5f13cbab02607ebe6ab9c422ffb731e7897a489 | |
parent | f2cffdcdf5fb52033377de64a2a6e20e21393e46 [diff] |
ARTEMIS-4658 AMQP federation example for multicast over hub and spoke Adds an example showing how AMQP federation can be used to federate multicast messages over a hub and spoke topology with bi-directional federation. Also adds the AMQP federation examples to the run script
This repository contains various examples demonstrating many of the features of Apache ActiveMQ Artemis.
To begin, run the following at the root of your examples checkout to prepare a broker distribution for use.
mvn clean package
This will establish a broker installation within the artemis-distribution module in the root, which the individual examples will then reference while creating a broker instance when they are run.
After preparing the broker distribution as above, you can then run most individual examples by changing into their directory and running mvn verify
or mvn install
(See the readme.md file in each example directory for specific details).
For instance, a simple introductory example would be the “queue” example. To run it, do the following:
cd examples/features/standard/queue/ mvn clean verify
This will start a broker instance, using the previously prepared broker installation in artemis-distribution, and then run the example client application against it, which will print having produced and consumed a message.
See CONTRIBUTING for details.