amazon-sqs-java-messaging-lib icon indicating copy to clipboard operation
amazon-sqs-java-messaging-lib copied to clipboard

An issue regarding access FIFO queue.

Open NeilNing-rifo opened this issue 4 years ago • 0 comments

To whom it my concern, I tried to use this library to talk to a FIFO queue with configuration items JMSXGroupID and JMS_SQS_DeduplicationId, these items are able to be found from official document below. https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/getting-started.html

final I got a not clear error showed below: com.amazonaws.services.sqs.model.AmazonSQSException: The queue should either have ContentBasedDeduplication enabled or MessageDeduplicationId provided explicitly (Service: AmazonSQS; Status Code: 400; Error Code: InvalidParameterValue; Request ID: ca1075f7-6817-593a-9742-2d3ea830206a; Proxy: null)

Is there anyone who has more experiences or knowledge to help me resolve it?

I tried to use java sdk v2 to connect the FIFO queue successfully as well.

NeilNing-rifo avatar Mar 15 '21 20:03 NeilNing-rifo