AMQ topologies

While using AMQ, one technique to avoid a single point of failure is to set up a master-slave topology. In a master-slave configuration, a set of brokers cooperate to ensure that the cluster does not go down. It is an active-passive configuration, where the master and slaves synchronize themselves using various locking mechanisms: shared filesystem, shared database, replicated stores, colocated, and so on. The master should always be active to maintain the cluster is up and running. Once the master goes down, a slave node immediately detects the breakdown and becomes the new master node. In such a configuration, clients have to adjust the calling URL with the failover URL to automatically switch to the new broker:

To build ...

Get JBoss: Developer's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.