Home » activemq-parent-5.3.1-source-release » org.apache » activemq » [javadoc | source]
org.apache.activemq
public class: ActiveMQMessageAudit [javadoc | source]
java.lang.Object
   org.apache.activemq.ActiveMQMessageAudit
Provides basic audit functions for Messages
Field Summary
public static final  int DEFAULT_WINDOW_SIZE     
public static final  int MAXIMUM_PRODUCER_COUNT     
Constructor:
 public ActiveMQMessageAudit() 
 public ActiveMQMessageAudit(int auditDepth,
    int maximumNumberOfProducersToTrack) 
Method from org.apache.activemq.ActiveMQMessageAudit Summary:
getAuditDepth,   getMaximumNumberOfProducersToTrack,   isDuplicate,   isDuplicate,   isDuplicate,   isDuplicate,   isInOrder,   isInOrder,   isInOrder,   isInOrder,   rollback,   rollback,   setAuditDepth,   setMaximumNumberOfProducersToTrack
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.ActiveMQMessageAudit Detail:
 public int getAuditDepth() 
 public int getMaximumNumberOfProducersToTrack() 
 public boolean isDuplicate(Message message) throws JMSException 
    Checks if this message has been seen before
 public synchronized boolean isDuplicate(String id) 
    checks whether this messageId has been seen before and adds this messageId to the list
 public boolean isDuplicate(MessageReference message) 
    Checks if this message has been seen before
 public synchronized boolean isDuplicate(MessageId id) 
    Checks if this messageId has been seen before
 public boolean isInOrder(Message msg) throws JMSException 
    Check the message is in order
 public synchronized boolean isInOrder(String id) 
    Check the message id is in order
 public synchronized boolean isInOrder(MessageReference message) 
    Check the MessageId is in order
 public synchronized boolean isInOrder(MessageId id) 
    Check the MessageId is in order
 public  void rollback(MessageReference message) 
    mark this message as being received
 public synchronized  void rollback(MessageId id) 
    mark this message as being received
 public  void setAuditDepth(int auditDepth) 
 public  void setMaximumNumberOfProducersToTrack(int maximumNumberOfProducersToTrack)