Skip to content

Conventional Message Routing

As an example, you can apply conventional routing with the Amazon SQS transport like so:

cs
var host = await Host.CreateDefaultBuilder()
    .UseWolverine(opts =>
    {
        opts.UseAmazonSqsTransport()
            .UseConventionalRouting();

    }).StartAsync();

snippet source | anchor

In this case any outgoing message types that aren't handled locally or have an explicit subscription will be automatically routed to an Amazon SQS queue named after the Wolverine message type name of the message type.

Released under the MIT License.