Search code examples
rabbitmqspring-amqpspring-rabbit

Spring amqp recovery mechanism


I have read the doc which says

Spring AMQP now uses the 4.0.x version of amqp-client, which has auto recovery enabled by default.

Is spring amqp's auto recovery mechanism exactly same as the native recovery mechanism provided by rabbitmq amqp-client or it has its own stuff beyond what is provided by rabbitmq amqp-client? If so what are the additional features spring amqp provides in terms of auto recovery?


Solution

  • Spring AMQP has had its own recovery mechanism for over a decade - predating the auto recovery provided by the client by several years.

    It's not really additional, it provides the same functionality, but in a different manner; the two are incompatible and spring-amqp effectively disables the built-in mechanism.