Skip to content

Latest commit

 

History

History
94 lines (41 loc) · 2.76 KB

File metadata and controls

94 lines (41 loc) · 2.76 KB

NServiceBus.Community.AuditFilter

Build status NuGet Status

Add message auditing filtering functionality to NServiceBus.

See Milestones for release notes.

Already a Patron? skip past this section

Community backed

It is expected that all developers become a Patron to use NServiceBus Community Extensions. Go to licensing FAQ

Sponsors

Support this project by becoming a Sponsor. The company avatar will show up here with a website link. The avatar will also be added to all GitHub repositories under the NServiceBusCommunity organization.

Patrons

Thanks to all the backing developers. Support this project by becoming a patron.

NuGet package

https://nuget.org/packages/NServiceBus.Community.AuditFilter/

Usage

Decorate messages with attributes

snippet: MessageToIncludeAudit

snippet: MessageToExcludeFromAudit

Add to EndpointConfiguration

With include by default

snippet: DefaultIncludeInAudit

With exclude by default

snippet: DefaultExcludeFromAudit

Delegate filter fallback

The fallback/default value can also be controlled by a delegate.

snippet: FilterAuditByDelegate

Include/Exclude logic flow

Sample

The sample uses the Learning Transport and the resultant messages can be viewed in the Storage Directory.

Decorate messages with attributes

snippet: MessageToExcludeFromAudit

snippet: MessageToIncludeAudit

Add to EndpointConfiguration

snippet: Enable

Icon

Audit designed by Delwar Hossain from The Noun Project.