org.apache.activemq.broker.region
Interface QueueMessageReference

All Superinterfaces:
MessageReference
All Known Implementing Classes:
IndirectMessageReference

public interface QueueMessageReference
extends MessageReference

Queue specific MessageReference.

Version:
$Revision: 474986 $
Author:
fateev@amazon.com

Field Summary
static QueueMessageReference NULL_MESSAGE
           
 
Method Summary
 void drop()
           
 LockOwner getLockOwner()
           
 boolean isAcked()
           
 boolean isDropped()
           
 boolean lock(LockOwner subscription)
           
 void setAcked(boolean b)
           
 void unlock()
           
 
Methods inherited from interface org.apache.activemq.broker.region.MessageReference
decrementReferenceCount, getExpiration, getGroupID, getGroupSequence, getMessage, getMessageHardRef, getMessageId, getRedeliveryCounter, getReferenceCount, getRegionDestination, getSize, getTargetConsumerId, incrementRedeliveryCounter, incrementReferenceCount, isExpired, isPersistent
 

Field Detail

NULL_MESSAGE

static final QueueMessageReference NULL_MESSAGE
Method Detail

isAcked

boolean isAcked()

setAcked

void setAcked(boolean b)

drop

void drop()

isDropped

boolean isDropped()

lock

boolean lock(LockOwner subscription)

unlock

void unlock()

getLockOwner

LockOwner getLockOwner()


Copyright © 2010 Apache Software Foundation. All Rights Reserved.