public final class EventBinder.QueueBinding
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
EventBinder.QueueBinding |
autoAck()
Sets the acknowledgement mode to be used for consuming message to automatic acknowledges
(auto acks).
|
public EventBinder.QueueBinding autoAck()
Sets the acknowledgement mode to be used for consuming message to automatic acknowledges (auto acks).
If auto acks is enabled, messages are delivered by the broker to its consumers in a fire-and-forget manner. The broker removes a message from the queue as soon as its is delivered to the consumer and does not care about whether the consumer successfully processes this message or not.