Package io.atleon.aws.sqs
Interface SqsMessageVisibilityChanger
-
- 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 SqsMessageVisibilityChanger
Interface through which the visibility of an associated inboundSqsMessageis managed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(Duration timeout, boolean stillInProcess)Changes the visibility timeout of the associatedSqsMessageby the provided duration and may mark the message as no longer in flight.
-
-
-
Method Detail
-
execute
void execute(Duration timeout, boolean stillInProcess)
Changes the visibility timeout of the associatedSqsMessageby the provided duration and may mark the message as no longer in flight. When stillInProcess is "false", it implies that processing of the Message has terminated and another Message might be requested. When stillInProcess is "true", it implies that the message is still being processed.- Parameters:
timeout- The amount of time to reset the visibility by, by whole secondsstillInProcess- Whether Message is still being processed
-
-