HornetQ Deploying a Distributed Topic: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
The example assumes three nodes (n1, n2 and n3). | The example assumes three nodes (n1, n2 and n3). | ||
=Deploy the Topic on All Nodes= | |||
Deploy the topic on all nodes. Use the usual declaration: | |||
<pre> | |||
</pre> | |||
=Configure the Cluster Connection on All Nodes= | |||
Deploy the cluster connection that will distribute topic messages among nodes: | |||
<pre> | |||
</pre> | |||
<blockquote style="background-color: Gold; border: solid thin Goldenrod;"> | |||
:<br>Some content on gold<br><br> | |||
</blockquote> |
Revision as of 01:16, 25 May 2016
Internal
Overview
This article explains how to deploy a distributed topic - meaning that messages are internally distributed amongst the HornetQ nodes that have the topic deployed on them. The underlying cluster connection that does the internal message distribution is configured to only handle messages destined to the specific topic we're distributing, maintaining all other destinations isolated.
The example assumes three nodes (n1, n2 and n3).
Deploy the Topic on All Nodes
Deploy the topic on all nodes. Use the usual declaration:
Configure the Cluster Connection on All Nodes
Deploy the cluster connection that will distribute topic messages among nodes:
Some content on gold