Roman created CAMEL-13230:
-----------------------------

             Summary: Error starting SQS consumer due to config option missing 
that's required for producer only
                 Key: CAMEL-13230
                 URL: https://issues.apache.org/jira/browse/CAMEL-13230
             Project: Camel
          Issue Type: Bug
          Components: camel-aws
    Affects Versions: 2.21.0
            Reporter: Roman


Currently if you consume from an SQS queue that is a FIFO queue and do not 
specify a *messageGroupIdStrategy* option the consumer fails to start with an 
error:

{{Failed to resolve endpoint: 
aws-sqs://queue.name.fifo?accessKey=xxx&maxMessagesPerPoll=1&region=AP_SOUTHEAST_2&secretKey=xxx&visibilityTimeout=60
 due to: messageGroupIdStrategy must be set for FIFO queues}}

This parameter is used for *producing* only to set the GroupId on the messages 
sent to the queue and should not be checked as part of general endpoint 
configuration check. It should be checked in the producer, perhaps in 
+org.apache.camel.component.aws.sqs.SqsProducer#configureFifoAttributes+

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to