- All Superinterfaces:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageBatchRecoverer extends MessageRecovererA retry recoverer for use with a batch listener. Users should consider throwing an exception containing the index within the batch where the exception occurred, allowing the recoverer to properly recover the remaining records.
- Gary Russell
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description
recover(List<Message> messages, Throwable cause)Callback for message batch that was consumed but failed all retry attempts.
recover(Message message, Throwable cause)Callback for message that was consumed but failed all retry attempts.
recoverDescription copied from interface:
MessageRecovererCallback for message that was consumed but failed all retry attempts.