An open API service indexing awesome lists of open source software.

https://github.com/shuttle/shuttle.esb.purgeinbox

The PurgeInbox extension clears the inbox work queue upon startup.
https://github.com/shuttle/shuttle.esb.purgeinbox

Last synced: about 1 month ago
JSON representation

The PurgeInbox extension clears the inbox work queue upon startup.

Awesome Lists containing this project

README

        

# Purge Inbox

```
PM> Install-Package Shuttle.Esb.PurgeInbox
```

The PurgeInbox module for Shuttle.Esb clears the inbox work queue upon startup.

The module will attach the `PurgeInboxObserver` to the `OnAfterConfigure` event of the `StartupPipeline` and purges the inbox work queue if the relevant queue implementation has implemented the `IPurgeQueue` interface. If the inbox work queue implementation has *not* implemented the `IPurgeQueue` interface the purge is ignored.

## Configuration

```c#
services.AddPurgeInbox();
```