You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/01/25 17:47:22 UTC
[camel] 01/02: CAMEL-16079 - camel-aws-sns2 does not recognise FIFO
queue configured though arn
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 94530ea968469937723a9ac48cce4bdbbc4faacb
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 25 18:06:19 2021 +0100
CAMEL-16079 - camel-aws-sns2 does not recognise FIFO queue configured though arn
---
.../java/org/apache/camel/component/aws2/sns/Sns2Configuration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-aws2-sns/src/main/java/org/apache/camel/component/aws2/sns/Sns2Configuration.java b/components/camel-aws2-sns/src/main/java/org/apache/camel/component/aws2/sns/Sns2Configuration.java
index cf95090..37923b8 100644
--- a/components/camel-aws2-sns/src/main/java/org/apache/camel/component/aws2/sns/Sns2Configuration.java
+++ b/components/camel-aws2-sns/src/main/java/org/apache/camel/component/aws2/sns/Sns2Configuration.java
@@ -351,6 +351,6 @@ public class Sns2Configuration implements Cloneable {
boolean isFifoTopic() {
// AWS docs suggest this is valid derivation.
// FIFO topic names must end with .fifo, and standard topic cannot
- return topicName.endsWith(".fifo");
+ return topicName.endsWith(".fifo") || topicArn.endsWith(".fifo");
}
}