[
https://issues.apache.org/jira/browse/CAMEL-11224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217129#comment-16217129
]
ASF GitHub Bot commented on CAMEL-11224:
----------------------------------------
quiquep 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_r146606157
##########
File path:
components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsConfiguration.java
##########
@@ -83,6 +87,18 @@
private String redrivePolicy;
/**
+ * Whether or not the queue is a FIFO queue
+ */
+ public boolean isFifoQueue() {
+ // AWS docs suggest this is valid derivation.
+ // FIFO queue names must end with .fifo, and standard queues cannot
+ if (queueName.endsWith(".fifo")) {
Review comment:
Makes sense. Thanks.
----------------------------------------------------------------
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)