amazon-sqs-net-extended-client-lib icon indicating copy to clipboard operation
amazon-sqs-net-extended-client-lib copied to clipboard

AmazonSQSExtendedClient does not have an implementation

Open mec2005 opened this issue 4 years ago • 7 comments

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!

mec2005 avatar Nov 06 '20 19:11 mec2005

This problem relates to AWS SDK > 3.5.0

Rolling back to this version works for me

AshleyJButcher avatar Dec 09 '20 17:12 AshleyJButcher

ya looks like it breaking a few things in our system as well.

jacobneroth avatar Dec 21 '20 18:12 jacobneroth

Any plans to release a fix for this anytime soon? :)

erikdac avatar Mar 25 '21 17:03 erikdac

https://github.com/raol/amazon-sqs-net-extended-client-lib/pull/38 fixes this issue

SimonGeorge-Zoopla avatar Jul 25 '23 08:07 SimonGeorge-Zoopla

Hi! any way to get rid of this error at this point?

Leuzi avatar Sep 11 '23 15:09 Leuzi

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.

raol avatar Jan 25 '24 23:01 raol