Package org.redisson.api.queue
Interface QueueNegativeAckArgs
- All Superinterfaces:
SyncArgs<QueueNegativeAckArgs>
- All Known Subinterfaces:
FailedAckArgs
- All Known Implementing Classes:
QueueNegativeAckParams
Interface defining parameters for negative acknowledgment of queue messages.
- Author:
- Nikita Koksharov
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic FailedAckArgsDefines status which indicates that the client application failed to process the message.static QueueNegativeAckArgsDefines status which indicates that the client application could process the message, but it was not accepted.Methods inherited from interface org.redisson.api.SyncArgs
syncFailureMode, syncMode, syncTimeout
-
Method Details
-
failed
Defines status which indicates that the client application failed to process the message. The message is redelivered.- Parameters:
ids- message ids- Returns:
- arguments object
-
rejected
Defines status which indicates that the client application could process the message, but it was not accepted. The message is removed and moves it to the Dead Letter Queue (DLQ) if configured.- Parameters:
ids- message ids- Returns:
- arguments object
-