[ 
https://issues.apache.org/jira/browse/CAMEL-11224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214930#comment-16214930
 ] 

ASF GitHub Bot commented on CAMEL-11224:
----------------------------------------

CandleCandle commented on a change in pull request #2018: CAMEL-11224 aws-sqs 
producer does not support new FIFO queues
URL: https://github.com/apache/camel/pull/2018#discussion_r146224694
 
 

 ##########
 File path: 
components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsConfiguration.java
 ##########
 @@ -364,4 +380,44 @@ public Integer getProxyPort() {
     public void setProxyPort(Integer proxyPort) {
         this.proxyPort = proxyPort;
     }
+
+    /**
+     * Since *Camel 2.20*. Only for FIFO queues. Strategy for setting the 
messageGroupId on the message.
+     * Can be one of the following options: *useConstant*, *useExchangeId*, 
*useHeaderValue*.
+     * For the *useHeaderValue* option, the value of header 
"CamelAwsMessageGroupId" will be used.
 
 Review comment:
   Sorry, just seen this response; something like that, yes. You can also use 
an `@see` javadoc annotation, which will generate a href to the constant when 
the javadoc tool is used.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> aws-sqs producer does not support new FIFO queues
> -------------------------------------------------
>
>                 Key: CAMEL-11224
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11224
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-aws
>            Reporter: Emilio Corengia
>             Fix For: 2.21.0
>
>
> At the moment *aws-sqs producer* does not support the new _FIFO_ queue 
> mechanism from AWS ([FIFO-queues 
> ref|http://http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html]).
>  There is a new parameter, +MessageGroupId+, that is required for FIFO queues 
> (it is not available on Standard queues).
> The message group ID is the tag that specifies that a message belongs to a 
> specific message group. Messages that belong to the same message group are 
> always processed one by one, in a strict order relative to the message group 
> (however, messages that belong to different message groups might be processed 
> out of order). +Source+: 
> http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property.
> This improvement consists on adding support for MessageGroupId on the 
> producer side of aws-sqs. It should be applicable on FIFO queues only. It 
> could be customizable via URI options. A default strategy should be provided. 
> This default strategy will generate a unique message group ID for each 
> message to favor throughput and latency over ordering of messages.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to