You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2023/08/31 07:25:40 UTC

[camel-quarkus] 12/14: Fixed aws2 because of CAMEL-19737

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

jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 3e964d8058b1b7f9d5810892aecef269ca30d41a
Author: JiriOndrusek <on...@gmail.com>
AuthorDate: Wed Aug 30 15:22:31 2023 +0200

    Fixed aws2 because of CAMEL-19737
---
 .../apache/camel/quarkus/component/aws2/sns/it/Aws2SqsSnsResource.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/integration-test-groups/aws2/aws2-sqs-sns/src/main/java/org/apache/camel/quarkus/component/aws2/sns/it/Aws2SqsSnsResource.java b/integration-test-groups/aws2/aws2-sqs-sns/src/main/java/org/apache/camel/quarkus/component/aws2/sns/it/Aws2SqsSnsResource.java
index 6708491498..8ef9997175 100644
--- a/integration-test-groups/aws2/aws2-sqs-sns/src/main/java/org/apache/camel/quarkus/component/aws2/sns/it/Aws2SqsSnsResource.java
+++ b/integration-test-groups/aws2/aws2-sqs-sns/src/main/java/org/apache/camel/quarkus/component/aws2/sns/it/Aws2SqsSnsResource.java
@@ -88,11 +88,10 @@ public class Aws2SqsSnsResource extends BaseAws2Resource {
     @Consumes(MediaType.TEXT_PLAIN)
     @Produces(MediaType.TEXT_PLAIN)
     public Response snsSend(String message,
-            @QueryParam("queueUrl") String queueUrl,
             @DefaultValue("false") @QueryParam("fifo") boolean fifo) throws Exception {
 
         String endpointUri = String.format(
-                "aws2-sns://%s?useDefaultCredentialsProvider=%s&subscribeSNStoSQS=true&queueUrl=RAW(%s)%s",
+                "aws2-sns://%s?useDefaultCredentialsProvider=%s&subscribeSNStoSQS=true&queueArn=RAW(%s)%s",
                 fifo ? fifoTopicName : topicName, isUseDefaultCredentials(),
                 fifo ? snsFifoReceiverQueueArn : snsReceiverQueueArn,
                 fifo ? "&messageGroupIdStrategy=useExchangeId" : "");