https://github.com/Shuttle/Shuttle.Esb.FileMQ
File-based queue implementation for use with Shuttle.Esb.
https://github.com/Shuttle/Shuttle.Esb.FileMQ
Last synced: 17 days ago
JSON representation
File-based queue implementation for use with Shuttle.Esb.
- Host: GitHub
- URL: https://github.com/Shuttle/Shuttle.Esb.FileMQ
- Owner: Shuttle
- License: bsd-3-clause
- Created: 2014-10-28T11:55:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-02T14:07:13.000Z (3 months ago)
- Last Synced: 2025-04-09T20:44:06.353Z (about 1 month ago)
- Language: C#
- Homepage:
- Size: 2.16 MB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# File System
```
PM> Install-Package Shuttle.Esb.FileMQ
```File-based queue implementation for use with Shuttle.Esb.
This queue implementation is not intended to be used in a production environment other than for backing up / copying queue messages.
# FileMQ
This `IQueue` implementation makes use of a folder as a queue with the messages saved as file. It is provided mainly as a backup mechanism.
## Configuration
The URI structure is `filemq://configuration-name/queue-name`.
```c#
services.AddFileQueue(builder =>
{
builder.AddOptions("local", new FileQueueOptions
{
Path = $"{Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, ".."))}\\queues\\"
});
});
```The default JSON settings structure is as follows:
```json
{
"Shuttle": {
"FileMQ": {
"local": {
"Path": "c:\\queues\\",
}
}
}
}
```## Options
| Segment / Argument | Default | Description |
| --- | --- | --- |
| Path | | The root folder that will contain a queue name as a sub-folder. |