Class LinearBackoffErrorHandler<T>

java.lang.Object
io.awspring.cloud.sqs.listener.errorhandler.LinearBackoffErrorHandler<T>
All Implemented Interfaces:
AsyncErrorHandler<T>

public class LinearBackoffErrorHandler<T> extends Object implements AsyncErrorHandler<T>
An implementation of a Linear Backoff error handler for asynchronous message processing.

This error handler sets the SQS message visibility timeout linearly based on the number of received attempts whenever an exception occurs.

When AcknowledgementMode is set to ON_SUCCESS (the default), returning a failed future prevents the message from being acknowledged.

Author:
Bruno Garcia, Rafael Pavarini