This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-16079-3.7.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit aef5ab5892ed135842a16a7f1dccbc4e393bf3ab
Author: Andrea Cosentino <anco...@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 78a0822..e2564b8 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
@@ -350,6 +350,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");
     }
 }

Reply via email to