How does failover and HA work?
Currently, AMQP durable queues and their persistent messages are recovered from disk at each server restart. Exchange failover is handled by OTP’s support for clustering (see above). Future releases will support live failover using, for instance, a combination of the “known hosts” field in connection.open-ok and the connection.redirect message. Erlang’s built-in fault-tolerant database will ensure that routing information is preserved, and the OTP supervisor architecture in combination with AMQP’s transactional features will ensure that durable messages are not lost.