Getting Started
Architecture
NServiceBus
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Modernization
Samples

AmazonSQS Transport Upgrade Version 7 to 8

Upgraded the AWS SDK to version 4

The AWS SDK introduces breaking changes, such as returning null instead of empty collections. The persistence has been updated internally to accommodate these changes.

If your application code directly uses the AWS SDK and is affected by these changes, you’ll need to adjust your code accordingly by following the AWS SDK v4 upgrade guidelines.

Visibility timeout subscription settings

Setting the message visibility timeout on the message driven pubsub compatibility mode has been deprecated in favor of the MessageVisibilityTimeout setting on the transport.

Updated Usage:

8.x NServiceBus.AmazonSQS
var transport = new SqsTransport
{
    MessageVisibilityTimeout = TimeSpan.FromSeconds(10)
};
7.x NServiceBus.AmazonSQS
var routing = endpointConfiguration.UseTransport(new SqsTransport());
var migrationSettings = routing.EnableMessageDrivenPubSubCompatibilityMode();
migrationSettings.MessageVisibilityTimeout(timeoutInSeconds: 10);