spring-projects/spring-amqp — pull request #229 by artembilan (2014-10-31 10:27:15+00:00)
Title: AMQP-438: Fix `MessagingMessageListenerAdapter`

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

Since `DefaultExceptionStrategy` treats only `org.springframework.amqp.support.converter.MessageConversionException` as `fatal`
and assuming backward compatibility for SF < 4.1, add `catch (org.springframework.messaging.converter.MessageConversionException ex) {`
to the `MessagingMessageListenerAdapter` to wrap that exception to the `org.springframework.amqp.support.converter.MessageConversionException`.
Having that the `DefaultExceptionStrategy` works with `@RabbitListener` as it is with generic ``.