Skip to content

mauroservienti/Mattox.NServiceBus.AmazonSQS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mattox.NServiceBus.AmazonSQS

Mattox.NServiceBus simplifies NServiceBus endpoints configuration by providing for supported transports a corresponding Mattox.NServiceBus endpoint with sensible defaults. Mattox.NServiceBus.AmazonSQS is the Mattox.NServiceBus endpoint for the NServiceBus AmamzonSQS transport.

Creating and starting an Amazon SQS endpoint is as easy as:

var endpoint = new AmazonSqsEndpoint("my-endpoint");
var endpointInstance = await endpoint.Start();

snippet source | anchor

Microsoft configuration extension support

Mattox.NServiceBus endpoints can be configured through the Microsoft.Extensions.Configuration. The above-presented Amazon SQS endpoint can be configured as follows:

Host.CreateDefaultBuilder()
    .UseNServiceBus(hostBuilderContext => new AmazonSqsEndpoint(hostBuilderContext.Configuration))
    .Build();

snippet source | anchor

The endpoint will retrieve values from the IConfiguration object instance.

Supported endpoints

For more information on all the supported endpoints, refer to the Mattox.NServiceBus repository.

How to get it


Icon — Box by Angriawan Ditya Zulkarnain from Noun Project (CC BY 3.0)

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages