public static final class EventBinder.QueueBinding<T>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
EventBinder.QueueBinding<T> |
autoAck()
Sets the acknowledgement mode to be used for consuming message to automatic acknowledges
(auto acks).
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
EventBinder.QueueBinding<T> |
withDecoder(Decoder<T> messageDecoder)
Sets the message decoder to be used for message decoding.
|
public EventBinder.QueueBinding<T> 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.
public EventBinder.QueueBinding<T> withDecoder(Decoder<T> messageDecoder)
messageDecoder - The message decoder instancepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object