org.apache.activemq.broker.region
Interface QueueMessageReference
- All Superinterfaces:
- MessageReference
- All Known Implementing Classes:
- IndirectMessageReference
public interface QueueMessageReference
- extends MessageReference
Queue specific MessageReference.
- Author:
- fateev@amazon.com
Methods inherited from interface org.apache.activemq.broker.region.MessageReference |
decrementReferenceCount, getExpiration, getGroupID, getGroupSequence, getMessage, getMessageHardRef, getMessageId, getRedeliveryCounter, getReferenceCount, getRegionDestination, getSize, getTargetConsumerId, incrementRedeliveryCounter, incrementReferenceCount, isAdvisory, isExpired, isPersistent |
NULL_MESSAGE
static final QueueMessageReference NULL_MESSAGE
isAcked
boolean isAcked()
setAcked
void setAcked(boolean b)
drop
void drop()
isDropped
boolean isDropped()
- Description copied from interface:
MessageReference
- Returns true if this message is dropped.
- Specified by:
isDropped
in interface MessageReference
lock
boolean lock(LockOwner subscription)
unlock
boolean unlock()
getLockOwner
LockOwner getLockOwner()
Copyright © 2005-2012. All Rights Reserved.