SimpleMessageBus_Publish_Amazon_IHostBuilderExtensions

A set of extension methods that make it easy to register SimpleMessageBus Amazon SQS publisher with a DI container.

Syntax

public static class SimpleMessageBus_Publish_Amazon_IHostBuilderExtensions

Inheritance

Methods

UseAmazonSQSMessagePublisher

public static IHostBuilder UseAmazonSQSMessagePublisher(this IHostBuilder builder, Action<AmazonSQSOptions> amazonSQSOptions)
Configures SimpleMessageBus to use Amazon SQS as the backing queue and registers the with the DI container.

Parameters

  • builder IHostBuilder: The instance to extend.
  • amazonSQSOptions Action<AmazonSQSOptions>: An that gives you a fluent interface for configuring the options for a queue backed by Amazon SQS.

Returns

IHostBuilder The instance being configured, for fluent interaction.

UseAmazonSQSMessagePublisher

public static IHostBuilder UseAmazonSQSMessagePublisher(this IHostBuilder builder)
Configures SimpleMessageBus to use Amazon SQS as the backing queue and registers the with the DI container.

Parameters

Returns

IHostBuilder The instance being configured, for fluent interaction.