https://github.com/mauroservienti/mattox.nservicebus
NServiceBus endpoints made simple
https://github.com/mauroservienti/mattox.nservicebus
distributed-systems hacktoberfest nservicebus soa
Last synced: over 1 year ago
JSON representation
NServiceBus endpoints made simple
- Host: GitHub
- URL: https://github.com/mauroservienti/mattox.nservicebus
- Owner: mauroservienti
- License: apache-2.0
- Created: 2023-09-23T07:34:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T04:44:27.000Z (almost 2 years ago)
- Last Synced: 2024-10-24T22:25:53.940Z (almost 2 years ago)
- Topics: distributed-systems, hacktoberfest, nservicebus, soa
- Language: C#
- Homepage:
- Size: 269 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Mattox.NServiceBus
Mattox simplifies [NServiceBus endpoints](https://docs.particular.net/nservicebus/) configuration by providing for supported transports a corresponding Mattox endpoint with sensible defaults. For example, creating and starting a RabbitMQ endpoint could be as easy as:
```csharp
var endpoint = new RabbitMqEndpoint("my-endpoint", connectionString: "host=localhost");
var endpointInstance = await endpoint.Start();
```
## Microsoft configuration extension support
Mattox.NServiceBus can be configured through the [`Microsoft.Extensions.Configuration`](https://www.nuget.org/packages/Microsoft.Extensions.Configuration). The above-presented RabbitMQ endpoint can be configured as follows:
```csharp
Host.CreateDefaultBuilder()
.UseNServiceBus(hostBuilderContext => new RabbitMqEndpoint(hostBuilderContext.Configuration))
.Build();
```
The endpoint will retrieve values from the `IConfiguration` object instance. For more information, refer to the [Mattox.NServiceBus configuration options docmentation](/docs).
## Supported endpoints
- [Mattox.NServiceBus.AmazonSQS](https://github.com/mauroservienti/Mattox.NServiceBus.AmazonSQS)
- [Mattox.NServiceBus.RabbitMQ](https://github.com/mauroservienti/Mattox.NServiceBus.RabbitMQ)
## How to get it
- Pre-releases are available on [Feedz.io](https://feedz.io/) ([public feed](https://f.feedz.io/mauroservienti/pre-releases/nuget/index.json))
- Releases on [NuGet.org](https://www.nuget.org/packages?q=Mattox)
## NOTE
> This package is not meant to be used directly. It serves as a base package for other Mattox.NServiceBus Endpoints, such as [Mattox.NServiceBus.AmazonSQS](https://github.com/mauroservienti/Mattox.NServiceBus.AmazonSQS) or [Mattox.NServiceBus.Endpoints.RabbitMQ](https://github.com/mauroservienti/Mattox.NServiceBus.RabbitMQ).
---
Icon — [Box by Angriawan Ditya Zulkarnain](https://thenounproject.com/icon/box-1298424/) from [Noun Project](https://thenounproject.com/browse/icons/term/box/) (CC BY 3.0)