Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » broker » region » [javadoc | source]
org.apache.activemq.broker.region
public interface: MessageReference [javadoc | source]

All Known Implementing Classes:
    ActiveMQStreamMessage, ActiveMQMapMessage, ActiveMQBlobMessage, ActiveMQTextMessage, QueueMessageReference, NullMessageReference, Message, IndirectMessageReference, ActiveMQObjectMessage, ActiveMQBytesMessage, ActiveMQMessage

Keeps track of a message that is flowing through the Broker. This object may hold a hard reference to the message or only hold the id of the message if the message has been persisted on in a MessageStore.
Method from org.apache.activemq.broker.region.MessageReference Summary:
decrementReferenceCount,   getExpiration,   getGroupID,   getGroupSequence,   getMessage,   getMessageHardRef,   getMessageId,   getRedeliveryCounter,   getReferenceCount,   getRegionDestination,   getSize,   getTargetConsumerId,   incrementRedeliveryCounter,   incrementReferenceCount,   isAdvisory,   isDropped,   isExpired,   isPersistent
Method from org.apache.activemq.broker.region.MessageReference Detail:
 public int decrementReferenceCount()
 public long getExpiration()
 public String getGroupID()
 public int getGroupSequence()
 public Message getMessage() throws IOException
 public Message getMessageHardRef()
 public MessageId getMessageId()
 public int getRedeliveryCounter()
 public int getReferenceCount()
 public Destination getRegionDestination()
 public int getSize()
 public ConsumerId getTargetConsumerId()
 public  void incrementRedeliveryCounter()
 public int incrementReferenceCount()
 public boolean isAdvisory()
 public boolean isDropped()
    Returns true if this message is dropped.
 public boolean isExpired()
    Returns true if this message is expired
 public boolean isPersistent()