Table of Contents

ConfigureClient Method

Definition

Namespace
Savvyio.Extensions.SimpleQueueService
Assemblies
Savvyio.Extensions.SimpleQueueService.dll
Source
src/Savvyio.Extensions.SimpleQueueService/AmazonMessageOptions.cs

ConfigureClient(Action<ClientConfig>)

Provides a flexible way to configure client configurations for both AWS SQS/SNS in a single call.

public AmazonMessageOptions ConfigureClient(Action<ClientConfig> setup)

Parameters

setup Action<ClientConfig>

The setup.

Returns

AmazonMessageOptions

Remarks

When this method is invoked, it will set the ClientConfigurations property that take precedence over the Endpoint property. Useful for testing with a local SQS/SNS instance such as LocalStack or require full configuration flexibility.

Exceptions

ArgumentNullException

setup cannot be null.