JMS Examples: Transaction Failover With Data Replication
11.1.57. Transaction Failover With Data Replication The transaction-failover example demonstrates two servers coupled as a live-backup pair for high availability (HA), and a client using a transacted JMS session failing over from live to backup when the live server is crashed. HornetQ implements failover of client connections between live and backup servers. This is implemented by the replication of data between live and backup nodes. When replication is configured and a live node crashes, the client connections can carry and continue to send and consume messages. When transacted sessions are used, once and only once message delivery is guaranteed.