mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-08 11:05:34 +00:00
This commit contains these changes: * Change example documentation to use markdown * Generate HTML doc based on markdown during release * Fix XML formatting in some examples * Repair out-of-date documentation
11 lines
637 B
Markdown
11 lines
637 B
Markdown
# MQTT Clustered Subscription 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 queue deployed on two different nodes. The two nodes are configured to form a cluster.
|
|
|
|
We then create an MQTT subscriber on the queue on each node, and we create a producer on only one of the nodes.
|
|
|
|
We then send some messages via the producer, and we verify that **both** subscribers receive the sent messages.
|
|
|
|
For more information on ActiveMQ Artemis clustering please see the clustering section of the user manual. |