SpringSource/spring-integration — pull request #572 by garyrussell (2012-08-07 23:17:44+00:00)
Title: INT-2703 Advice Chain Utility/Helper Classes

In preparation for samples/blog determined that some
helpers would be useful.

INT-2703 SpEL-Based Retry State Generator

Stateful retry requires some state to determine the
retry count for a resubmitted message.

State is provided by a retry state object generated by a
state generator. No standard state generators were
provided by Spring Integration.

Provide a SpEL-Based state generator to create a
RetryState object from a Message (for example, using
the jms message id header).

Add ErrorMessageSendingRecoverer - a RetryCallback
invoked when recovery attempts are exhausted.

Add string-based constructor to Spel Advice for
easier configuration.