public static class ExceptionHandlers.RetryAcknowledgmentExceptionHandler extends Object implements BiConsumer<Receiver.AcknowledgmentContext,Exception>
Constructor and Description |
---|
RetryAcknowledgmentExceptionHandler(Duration timeout,
Duration waitingTime,
Predicate<Throwable> predicate) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Receiver.AcknowledgmentContext acknowledgmentContext,
Exception e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen
public void accept(Receiver.AcknowledgmentContext acknowledgmentContext, Exception e)
accept
in interface BiConsumer<Receiver.AcknowledgmentContext,Exception>