spring-projects/spring-amqp — pull request #190 by garyrussell (2014-06-18 19:32:08+00:00)
Title: AMQP-400 Optionally Recover From Missing Queue(s)

JIRA: https://jira.spring.io/browse/AMQP-400

Previously if all the listener container's queues were missing
from the broker, it was considered a fatal error. This could occur
during initial context startup (which would fail), or if the
queue(s) were deleted while the container was running, in which
case the container was stopped and would have to be manually
restarted when the condition was corrected.

Add a new property `missingQueuesFatal` (default true) to the
`SimpleMessageListenerContainer`.

In 1.4 we can add this property to the namespace; for 1.3.x
either configure the `SMLC` as a `` or add a
`` bean to the application context, with id
`spring.amqp.global.properties`. This properties object can
contain a property `smlc.missing.queues.fatal`; which is
equivalent to setting the property on the bean. It is only
applied if the property has not been explicitly set.