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 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.