public interface QueueMessageReference extends MessageReference
Modifier and Type | Field and Description |
---|---|
static QueueMessageReference |
NULL_MESSAGE |
Modifier and Type | Method and Description |
---|---|
void |
drop() |
boolean |
dropIfLive() |
LockOwner |
getLockOwner() |
boolean |
isAcked() |
boolean |
isDropped()
Returns true if this message is dropped.
|
boolean |
lock(LockOwner subscription) |
void |
setAcked(boolean b) |
boolean |
unlock() |
canProcessAsExpired, decrementReferenceCount, getExpiration, getGroupID, getGroupSequence, getMessage, getMessageHardRef, getMessageId, getRedeliveryCounter, getReferenceCount, getRegionDestination, getSize, getTargetConsumerId, incrementRedeliveryCounter, incrementReferenceCount, isAdvisory, isExpired, isPersistent
static final QueueMessageReference NULL_MESSAGE
boolean isAcked()
void setAcked(boolean b)
void drop()
boolean dropIfLive()
boolean isDropped()
MessageReference
isDropped
in interface MessageReference
boolean unlock()
LockOwner getLockOwner()
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.