Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 523 Bytes

modules-purge-inbox.md

File metadata and controls

13 lines (11 loc) · 523 Bytes
title layout
Purge Inbox Module
api

Purge Inbox Module

The PurgeInboxModule may be found in the Shuttle.Esb.Modules assembly. The module will attach the PurgeInboxObserver to the OnAfterInitializeQueueFactories event of the StartupPipeline and purges the inbox work queue if the relevant queue implementation has implemented the IPurgeQueue interface. If it hasn't a warning is logged.

	var bus = ServiceBus
		.Create(c => c.AddModule(new PurgeInboxModule()))
		.Start();