Saravanan
Saravanan

Reputation: 67

NServiceBus purge audit queue

I have multiple NSB endpoints using MSMQ as transport and pointing to centralized audit queue.

ServiceControl forwards the messages from the audit queue to its RavenDb and ServiceInsight/ServicePulse show those messages.

Over a period, I'm seeing the audit queue is filled up with lot of messages which is becoming a maintenance issue.

Question - Is there any configuration in ServiceControl that can purge the messages in the audit queue automatically?

Upvotes: 2

Views: 1115

Answers (1)

Hadi Eskandari
Hadi Eskandari

Reputation: 26354

ServiceControl comes with message retention policies that you can also customize. You didn't mention which version of ServiceControl you're using but the latest one comes with default expiration of messages after 30 days. It is all documented here.

Upvotes: 2

Related Questions