When I do this, the client always sends messages to S3:
client = new AmazonSQSExtendedClient(sqsClient,
new ExtendedClientConfiguration()
.WithLargePayloadSupportEnabled(s3Client, s3Bucket)
.WithAlwaysThroughS3(false)
.WithRetainS3Messages(false));
When I did this, the configuration had the AlwaysThroughS3 property set to true:
var config = new ExtendedClientConfiguration()
.WithLargePayloadSupportEnabled(s3Client, s3Bucket)
.WithAlwaysThroughS3(false)
.WithRetainS3Messages(false);
To resolve, I ended up not explicitly calling the extensions, and accepted the defaults instead.
When I do this, the client always sends messages to S3:
When I did this, the configuration had the AlwaysThroughS3 property set to true:
To resolve, I ended up not explicitly calling the extensions, and accepted the defaults instead.