Interface QueueMessageReference
-
- All Superinterfaces:
org.apache.activemq.broker.region.MessageReference
- All Known Implementing Classes:
IndirectMessageReference
,NullMessageReference
public interface QueueMessageReference extends org.apache.activemq.broker.region.MessageReference
Queue specific MessageReference.- Author:
- [email protected]
-
-
Field Summary
Fields Modifier and Type Field Description static QueueMessageReference
NULL_MESSAGE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
drop()
boolean
dropIfLive()
LockOwner
getLockOwner()
boolean
isAcked()
boolean
isDropped()
boolean
lock(LockOwner subscription)
void
setAcked(boolean b)
boolean
unlock()
-
Methods inherited from interface org.apache.activemq.broker.region.MessageReference
canProcessAsExpired, decrementReferenceCount, getExpiration, getGroupID, getGroupSequence, getMessage, getMessageHardRef, getMessageId, getRedeliveryCounter, getReferenceCount, getRegionDestination, getSize, getTargetConsumerId, incrementRedeliveryCounter, incrementReferenceCount, isAdvisory, isExpired, isPersistent
-
-
-
-
Field Detail
-
NULL_MESSAGE
static final QueueMessageReference NULL_MESSAGE
-
-
Method Detail
-
isAcked
boolean isAcked()
-
setAcked
void setAcked(boolean b)
-
drop
void drop()
-
dropIfLive
boolean dropIfLive()
-
isDropped
boolean isDropped()
- Specified by:
isDropped
in interfaceorg.apache.activemq.broker.region.MessageReference
-
unlock
boolean unlock()
-
getLockOwner
LockOwner getLockOwner()
-
-