Show / Hide Table of Contents

# Class ActiveMQMessageAudit

##### Inheritance

System.Object
ActiveMQMessageAudit

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ.Util

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class ActiveMQMessageAudit

### Constructors

| Improve this Doc View Source

#### ActiveMQMessageAudit()

##### Declaration

    public ActiveMQMessageAudit()

| Improve this Doc View Source

#### ActiveMQMessageAudit(Int32, Int32)

##### Declaration

    public ActiveMQMessageAudit(int auditDepth, int maximumNumberOfProducersToTrack)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int32 | auditDepth |
System.Int32 | maximumNumberOfProducersToTrack |

### Fields

| Improve this Doc View Source

#### DEFAULT_WINDOW_SIZE

##### Declaration

    public const int DEFAULT_WINDOW_SIZE = 2048

##### Field Value

Type | Description
--- | ---
System.Int32 |

| Improve this Doc View Source

#### MAXIMUM_PRODUCER_COUNT

##### Declaration

    public const int MAXIMUM_PRODUCER_COUNT = 64

##### Field Value

Type | Description
--- | ---
System.Int32 |

### Properties

| Improve this Doc View Source

#### AuditDepth

##### Declaration

    public int AuditDepth { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

| Improve this Doc View Source

#### MaximumNumberOfProducersToTrack

##### Declaration

    public int MaximumNumberOfProducersToTrack { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

### Methods

| Improve this Doc View Source

#### Clear()

##### Declaration

    public void Clear()

| Improve this Doc View Source

#### GetLastSeqId(ProducerId)

##### Declaration

    public long GetLastSeqId(ProducerId id)

##### Parameters

Type | Name | Description
--- | --- | ---
ProducerId | id |

##### Returns

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### IsDuplicate(MessageId)

##### Declaration

    public bool IsDuplicate(MessageId id)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageId | id |

##### Returns

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### IsInOrder(MessageId)

##### Declaration

    public bool IsInOrder(MessageId id)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageId | id |

##### Returns

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### Rollback(MessageId)

##### Declaration

    public void Rollback(MessageId id)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageId | id |