Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: None
-
Fix Version/s: 2.2 M4 Sprint 4, 2.2 M4
-
Component/s: None
-
Labels:
Description
Implement an Expression-Based RetryStateGenerator
Stateful retry (where we throw the exception rather than retry internally) requires a RetryStateGenerator strategy implementation. Provide a generic generator that uses a SpEL expression to extract an identifier from the message.
Also add an ErrorMessageSendingRecoverer, allowing the ability for the Retry advice to send an error message after recovery failure.