JMS clustering

JBoss Messaging has built-in support for clustering so that you can smoothly move your single-node applications to a clustered solution. The only crucial step is assigning at server startup an unique peer that should remain consistent across server restarts. A simple naming scheme is just fine (for example, 1, 2, 3 and so on).

run.sh -c node1 -g PartitionA -u 239.255.100.100 -b 192.168.10.1 -Djboss.messaging.ServerPeerID=1

JBoss Messaging clusters JMS queues and topics transparently across the cluster. Messages sent to a distributed queue or topic on one node are consumable on other nodes. To designate that a particular destination is clustered, simply set the Clustered attribute in the destination deployment descriptor to true: ...

Get JBoss AS 5 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.