spring-projects/spring-integration — pull request #896 by artembilan (2013-09-23 14:56:42+00:00)
Title: INT-2943: Retry: don't wrap to MessagingException

Previously, `RequestHandlerRetryAdvice` wrapped Handler's (business) Exceptions to
`MessagingException` on each retry withing `RetryCallback#doWithRetry`
and before `RetryPolicy#canRetry`.
It made useless some retry framework out-of-the-box features like `BinaryExceptionClassifier`

* Push wrapping to `MessagingException` after `retryTemplate#execute`
* Polishing `ErrorMessageSendingRecoverer` regarding new logic
* Add `retryableExceptions` test

JIRA: https://jira.springsource.org/browse/INT-2943