public interface MessageReceiver<T>
extends java.util.concurrent.BlockingQueue<T>
Modifier and Type | Method and Description |
---|---|
void |
accepted(long mid)
Accept the last message.
|
long |
getLastMessageId()
Returns the last message id for client ack.
|
void |
modified(long mid,
boolean isFailed,
boolean isUndeliverableHere)
Returns the message as modified.
|
void |
rejected(long mid,
java.lang.String errorMessage)
Reject the last message.
|
void |
released(long mid)
Release the last message.
|
add, contains, drainTo, drainTo, offer, offer, poll, put, remainingCapacity, remove, take
long getLastMessageId()
void accepted(long mid)
void rejected(long mid, java.lang.String errorMessage)
void released(long mid)
void modified(long mid, boolean isFailed, boolean isUndeliverableHere)