Skip to content

mauroservienti/Mattox.NServiceBus.RabbitMQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NServiceBoXes.Endpoints.RabbitMQ

NServiceBoXes Endpoints simplify NServiceBus endpoints configuration by providing for supported transports a corresponding NServiceBoXes endpoint with sensible defaults. NServiceBoXes.Endpoints.RabbitMQ is the NServiceBoXes endpoint for the NServiceBus RabbitMQ transport.

Creating and starting a RabbitMQ endpoint is as easy as:

var endpoint = new RabbitMqEndpoint("my-endpoint", connectionString: "host=localhost");
var endpointInstance = await endpoint.Start();

Microsoft configuration extension support

NServiceBoXes endpoints can be configured through the Microsoft.Extensions.Configuration. The above-presented RabbitMQ endpoint can be configured as follows:

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

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 3

  •  
  •  
  •  

Languages