amazon-sqs-net-extended-client-lib
amazon-sqs-net-extended-client-lib copied to clipboard
AmazonSQSExtendedClient does not have an implementation
Hi. First of all I want to thank you for this solution. I have an implementation that works fine, but when I updated AWSSDK.Core, AWSSDK.S3, AWSSDK.SimpleNotificationService and AWSSDK.SQS the client stopped working.
Now I have got the error.
System.TypeLoadException: 'Method 'get_Paginators' in type 'Amazon.SQS.ExtendedClient.AmazonSQSExtendedClient' from assembly 'Amazon.SQS.ExtendedClient, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'
try
{
_queueUrl = config.Url;
_s3Client = new AmazonS3Client(new BasicAWSCredentials(config.AccessKey, config.SecretKey), Amazon.RegionEndpoint.GetBySystemName(config.Region));
_sqsClient = new AmazonSQSClient(config.AccessKey, config.SecretKey, Amazon.RegionEndpoint.GetBySystemName(config.Region));
_extendedClient = new AmazonSQSExtendedClient(_sqsClient, new ExtendedClientConfiguration().WithLargePayloadSupportEnabled(_s3Client, config.BucketName));
}
catch (Exception ex)
{
_logger.LogError(ex, "Constructor: SqsService");
throw;
}
}
I'll thank you again if help me!
This problem relates to AWS SDK > 3.5.0
Rolling back to this version works for me
ya looks like it breaking a few things in our system as well.
Any plans to release a fix for this anytime soon? :)
https://github.com/raol/amazon-sqs-net-extended-client-lib/pull/38 fixes this issue
Hi! any way to get rid of this error at this point?
New year, issue still exists. Is there a plan to fix this? or should we look for alternatives?
System.TypeLoadException: Method 'CancelMessageMoveTaskAsync' in type 'Amazon.SQS.ExtendedClient.AmazonSQSExtendedClient' from assembly 'Amazon.SQS.ExtendedClient, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
Hi @rafael-herscovici-orielo could you please provide a project that replicates the problem?
UPD. I merged #38 so it should solve the issue. You must have used newer version of AWS.SDK which was not fully supported by the package.