18#ifndef _ACTIVEMQ_CORE_ACTIVEMQMESSAGEAUDIT_H_
19#define _ACTIVEMQ_CORE_ACTIVEMQMESSAGEAUDIT_H_
30 class MessageAuditImpl;
35 MessageAuditImpl* impl;
#define AMQCPP_API
Definition Config.h:30
void clear()
Clears this Audit.
static const int MAXIMUM_PRODUCER_COUNT
Definition ActiveMQMessageAudit.h:40
ActiveMQMessageAudit(int auditDepth, int maximumNumberOfProducersToTrack)
Construct a MessageAudit.
void rollback(decaf::lang::Pointer< commands::MessageId > msgId)
Marks this message as being received.
bool isDuplicate(decaf::lang::Pointer< commands::MessageId > msgId) const
Checks if this messageId has been seen before.
ActiveMQMessageAudit()
Default Constructor windowSize = 2048, maximumNumberOfProducersToTrack = 64.
bool isInOrder(const std::string &msgId) const
Check the MessageId is in order.
void getMaximumNumberOfProducersToTrack(int value)
Sets the number of producers to track.
long long getLastSeqId(decaf::lang::Pointer< commands::ProducerId > id) const
bool isInOrder(decaf::lang::Pointer< commands::MessageId > msgId) const
Check the MessageId is in order.
void rollback(const std::string &msgId)
Marks this message as being received.
int getMaximumNumberOfProducersToTrack() const
void setAuditDepth(int value)
Sets a new Audit Depth value.
static const int DEFAULT_WINDOW_SIZE
Definition ActiveMQMessageAudit.h:39
int getAuditDepth() const
Gets the currently configured Audit Depth.
bool isDuplicate(const std::string &msgId) const
checks whether this messageId has been seen before and adds this messageId to the list
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition Pointer.h:53
Definition ActiveMQTempDestination.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24