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:
fateev@amazon.com
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
     
    boolean
     
    boolean
     
    boolean
    lock(LockOwner subscription)
     
    void
    setAcked(boolean b)
     
    boolean
     

    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 Details

  • Method Details

    • isAcked

      boolean isAcked()
    • setAcked

      void setAcked(boolean b)
    • drop

      void drop()
    • dropIfLive

      boolean dropIfLive()
    • isDropped

      boolean isDropped()
      Specified by:
      isDropped in interface org.apache.activemq.broker.region.MessageReference
    • lock

      boolean lock(LockOwner subscription)
    • unlock

      boolean unlock()
    • getLockOwner

      LockOwner getLockOwner()