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

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


The following commit(s) were added to refs/heads/main by this push:
     new 08a0f4181 chore: Citrus tests for the AWS Kamelets that had none 
(#3261) (#3272)
08a0f4181 is described below

commit 08a0f418195079b08dd717e63224dcb33cc54308
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Nov 19 17:37:47 2026 +0100

    chore: Citrus tests for the AWS Kamelets that had none (#3261) (#3272)
    
    Adds Citrus tests for 17 AWS Kamelets. Floci stands in for CloudWatch,
    EC2, Data Firehose, S3 streaming upload, Secrets Manager, SES,
    Comprehend, SQS batch and FIFO, and SNS FIFO; the test reads what the
    Kamelet sent back from the service. The Citrus HTTP server stands in,
    with answers in the AWS API format, for the services Floci does not
    emulate or emulates too little to check the request: Lambda, Polly,
    Timestream query, Bedrock text, agent and agent runtime, and CloudTrail.
    Each route records the body type and Content-Type that the Kamelet
    leaves on the message.
    
    aws-translate-action, aws-redshift-sink and aws-redshift-source stay
    without tests: the AWS SDK sends Translate requests in CBOR, which Floci
    does not answer, and the Redshift JDBC driver does not connect to
    PostgreSQL.
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
---
 .../camel-kamelets-itest/src/test/java/AwsIT.java  |  55 +++++++++
 .../src/test/resources/aws/aws-stand-in.properties |  23 ++++
 ...bedrock-agent-runtime-sink-route.citrus.it.yaml |  86 +++++++++++++
 .../aws-bedrock-agent-runtime-sink-route.yaml      |  51 ++++++++
 .../aws-bedrock-agent-sink-route.citrus.it.yaml    |  76 ++++++++++++
 .../aws/bedrock/aws-bedrock-agent-sink-route.yaml  |  46 +++++++
 .../aws-bedrock-text-sink-route.citrus.it.yaml     |  78 ++++++++++++
 .../aws/bedrock/aws-bedrock-text-sink-route.yaml   |  45 +++++++
 .../aws-cloudtrail-source-route.citrus.it.yaml     |  88 +++++++++++++
 .../cloudtrail/aws-cloudtrail-source-route.yaml    |  58 +++++++++
 .../aws-cloudwatch-sink-route.citrus.it.yaml       |  86 +++++++++++++
 .../aws/cloudwatch/aws-cloudwatch-sink-route.yaml  |  60 +++++++++
 .../aws-comprehend-sink-route.citrus.it.yaml       |  65 ++++++++++
 .../aws/comprehend/aws-comprehend-sink-route.yaml  |  51 ++++++++
 .../aws/ec2/aws-ec2-sink-route.citrus.it.yaml      |  75 +++++++++++
 .../test/resources/aws/ec2/aws-ec2-sink-route.yaml |  55 +++++++++
 .../src/test/resources/aws/ec2/runInstances.groovy |  38 ++++++
 .../aws-kinesis-firehose-sink-route.citrus.it.yaml |  93 ++++++++++++++
 .../firehose/aws-kinesis-firehose-sink-route.yaml  |  47 +++++++
 .../resources/aws/firehose/verifyDelivery.groovy   |  31 +++++
 .../src/test/resources/aws/floci.properties        |  23 ++++
 .../lambda/aws-lambda-sink-route.citrus.it.yaml    | 137 +++++++++++++++++++++
 .../aws/lambda/aws-lambda-sink-route.yaml          |  49 ++++++++
 .../aws/polly/aws-polly-sink-route.citrus.it.yaml  |  80 ++++++++++++
 .../resources/aws/polly/aws-polly-sink-route.yaml  |  52 ++++++++
 ...s-s3-streaming-upload-sink-route.citrus.it.yaml | 103 ++++++++++++++++
 .../aws/s3/aws-s3-streaming-upload-sink-route.yaml |  51 ++++++++
 .../resources/aws/s3/verifyStreamingUpload.groovy  |  26 ++++
 .../aws-secrets-manager-sink-route.citrus.it.yaml  |  94 ++++++++++++++
 .../aws-secrets-manager-sink-route.yaml            |  52 ++++++++
 .../aws/ses/aws-ses-sink-route.citrus.it.yaml      | 102 +++++++++++++++
 .../test/resources/aws/ses/aws-ses-sink-route.yaml |  53 ++++++++
 .../aws/sns/aws-sns-fifo-sink-route.citrus.it.yaml | 106 ++++++++++++++++
 .../resources/aws/sns/aws-sns-fifo-sink-route.yaml |  53 ++++++++
 .../resources/aws/sns/setupFifoSnsToSqs.groovy     |  35 ++++++
 .../sqs/aws-sqs-batch-sink-route.citrus.it.yaml    | 101 +++++++++++++++
 .../aws/sqs/aws-sqs-batch-sink-route.yaml          |  53 ++++++++
 .../aws/sqs/aws-sqs-fifo-sink-route.citrus.it.yaml | 101 +++++++++++++++
 .../resources/aws/sqs/aws-sqs-fifo-sink-route.yaml |  50 ++++++++
 .../test/resources/aws/sqs/createFifoQueue.groovy  |  23 ++++
 .../aws-timestream-query-sink-route.citrus.it.yaml |  83 +++++++++++++
 .../aws-timestream-query-sink-route.yaml           |  52 ++++++++
 42 files changed, 2686 insertions(+)

diff --git a/tests/camel-kamelets-itest/src/test/java/AwsIT.java 
b/tests/camel-kamelets-itest/src/test/java/AwsIT.java
index d3b57d6d0..63c569a15 100644
--- a/tests/camel-kamelets-itest/src/test/java/AwsIT.java
+++ b/tests/camel-kamelets-itest/src/test/java/AwsIT.java
@@ -89,4 +89,59 @@ public class AwsIT {
         return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.sns");
     }
 
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsCloudWatch() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.cloudwatch");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsEc2() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.ec2");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsFirehose() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.firehose");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsSecretsManager() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.secretsmanager");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsSes() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.ses");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsComprehend() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.comprehend");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsLambda() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.lambda");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsPolly() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.polly");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsTimestream() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.timestream");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsBedrock() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.bedrock");
+    }
+
+    @CitrusTestFactory
+    public Stream<DynamicTest> awsCloudTrail() {
+        return 
CitrusTestFactorySupport.factory(TestLoader.YAML).packageScan("aws.cloudtrail");
+    }
+
 }
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/aws-stand-in.properties 
b/tests/camel-kamelets-itest/src/test/resources/aws/aws-stand-in.properties
new file mode 100644
index 000000000..841a96b2a
--- /dev/null
+++ b/tests/camel-kamelets-itest/src/test/resources/aws/aws-stand-in.properties
@@ -0,0 +1,23 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# The Citrus HTTP server stands in for AWS, with answers in the format of the 
AWS API
+aws.uriEndpointOverride=http://localhost:${aws.sink.server.port}
+aws.accessKey=test-access-key
+aws.secretKey=test-secret-key
+aws.region=us-east-1
+http.sink.url=http://localhost:${aws.sink.server.port}
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-runtime-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-runtime-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..2b5a5addd
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-runtime-sink-route.citrus.it.yaml
@@ -0,0 +1,86 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-bedrock-agent-runtime-sink-route-test
+# The question in the body is answered from the knowledge base. Floci does not 
emulate Bedrock knowledge bases: the
+# Citrus HTTP server stands in for them.
+actions:
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/bedrock/aws-bedrock-agent-runtime-sink-route.yaml"
+            systemProperties:
+              file: "aws/aws-stand-in.properties"
+
+  # The question is asked of the knowledge base, with the model of the options
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/retrieveAndGenerate"
+        validate:
+          - jsonPath:
+              - expression: '$.input.text'
+                value: 'How long can I return an item?'
+              - expression: '$.retrieveAndGenerateConfiguration.type'
+                value: 'KNOWLEDGE_BASE'
+              - expression: 
'$.retrieveAndGenerateConfiguration.knowledgeBaseConfiguration.knowledgeBaseId'
+                value: 'KB12345678'
+              - expression: 
'$.retrieveAndGenerateConfiguration.knowledgeBaseConfiguration.modelArn'
+                value: 
'arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-text-express-v1'
+
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          headers:
+            - name: "Content-Type"
+              value: 'application/json'
+          body:
+            data: '{"output":{"text":"Items can be returned within 30 
days."},"sessionId":"session-1","citations":[{"generatedResponsePart":{"textResponsePart":{"text":"Items
 can be returned within 30 
days.","span":{"start":0,"end":36}}},"retrievedReferences":[{"content":{"text":"Returns
 are accepted within 30 days of 
delivery."},"location":{"type":"S3","s3Location":{"uri":"s3://docs/returns.pdf"}}}]}]}'
+
+  # The body is the answer, with the session and the passages it is based on 
in headers
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Session-Id"
+              value: 'session-1'
+            - name: "X-Citation"
+              value: 'Returns are accepted within 30 days of delivery.'
+          body:
+            data: 'Items can be returned within 30 days.'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-runtime-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-runtime-sink-route.yaml
new file mode 100644
index 000000000..49f392712
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-runtime-sink-route.yaml
@@ -0,0 +1,51 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setBody:
+            constant: 'How long can I return an item?'
+        - to:
+            uri: "kamelet:aws-bedrock-agent-runtime-sink"
+            parameters:
+              knowledgeBaseId: "KB12345678"
+              modelId: 
"arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-text-express-v1"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Session-Id
+            simple: '${header.CamelAwsBedrockAgentRuntimeSessionId}'
+        - setHeader:
+            name: X-Citation
+            simple: 
'${header.CamelAwsBedrockAgentRuntimeCitations[0].retrievedReferences()[0].content().text()}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..f009f905e
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-sink-route.citrus.it.yaml
@@ -0,0 +1,76 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-bedrock-agent-sink-route-test
+# An ingestion job of the data source is started, and its ID becomes the body. 
Floci does not emulate Bedrock
+# knowledge bases: the Citrus HTTP server stands in for them.
+actions:
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/bedrock/aws-bedrock-agent-sink-route.yaml"
+            systemProperties:
+              file: "aws/aws-stand-in.properties"
+
+  # An ingestion job is started for the knowledge base and the data source of 
the options
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        PUT:
+          path: 
"/knowledgebases/KB12345678/datasources/DS12345678/ingestionjobs/"
+        validate:
+          - jsonPath:
+              - expression: '$.clientToken'
+                value: '@notEmpty()@'
+
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 202
+          reasonPhrase: "Accepted"
+          version: "HTTP/1.1"
+          headers:
+            - name: "Content-Type"
+              value: 'application/json'
+          body:
+            data: 
'{"ingestionJob":{"ingestionJobId":"JOB1234567","knowledgeBaseId":"KB12345678","dataSourceId":"DS12345678","status":"STARTING","startedAt":"2026-01-01T10:00:00Z","updatedAt":"2026-01-01T10:00:00Z"}}'
+
+  # The body is the ID of the job
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+          body:
+            data: 'JOB1234567'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-sink-route.yaml
new file mode 100644
index 000000000..5d92c9c89
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-agent-sink-route.yaml
@@ -0,0 +1,46 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setBody:
+            constant: 'not used'
+        - to:
+            uri: "kamelet:aws-bedrock-agent-sink"
+            parameters:
+              knowledgeBaseId: "KB12345678"
+              dataSourceId: "DS12345678"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-text-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-text-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..d462385e2
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-text-sink-route.citrus.it.yaml
@@ -0,0 +1,78 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-bedrock-text-sink-route-test
+# The body is the request of the model, and the answer of the model becomes 
the body. The Citrus HTTP server stands in
+# for Bedrock, to check the request: Floci gives the same stub answer for 
every model and request.
+actions:
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/bedrock/aws-bedrock-text-sink-route.yaml"
+            systemProperties:
+              file: "aws/aws-stand-in.properties"
+
+  # The model of the option is called with the body, as JSON
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/model/amazon.titan-text-express-v1/invoke"
+          headers:
+            - name: "Content-Type"
+              value: '@startsWith(''application/json'')@'
+            - name: "Accept"
+              value: 'application/json'
+          body:
+            data: '{"inputText":"Summarize: the order ORD-1 has 
shipped","textGenerationConfig":{"maxTokenCount":50}}'
+
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          headers:
+            - name: "Content-Type"
+              value: 'application/json'
+          body:
+            data: 
'{"inputTextTokenCount":9,"results":[{"tokenCount":5,"outputText":"Order ORD-1 
shipped.","completionReason":"FINISH"}]}'
+
+  # The body is the answer of the model, as JSON text
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+          body:
+            data: 
'{"inputTextTokenCount":9,"results":[{"tokenCount":5,"outputText":"Order ORD-1 
shipped.","completionReason":"FINISH"}]}'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-text-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-text-sink-route.yaml
new file mode 100644
index 000000000..94b433f85
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/bedrock/aws-bedrock-text-sink-route.yaml
@@ -0,0 +1,45 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setBody:
+            constant: '{"inputText":"Summarize: the order ORD-1 has 
shipped","textGenerationConfig":{"maxTokenCount":50}}'
+        - to:
+            uri: "kamelet:aws-bedrock-text-sink"
+            parameters:
+              modelId: "amazon.titan-text-express-v1"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/cloudtrail/aws-cloudtrail-source-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/cloudtrail/aws-cloudtrail-source-route.citrus.it.yaml
new file mode 100644
index 000000000..2d37032a3
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/cloudtrail/aws-cloudtrail-source-route.citrus.it.yaml
@@ -0,0 +1,88 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-cloudtrail-source-route-test
+# Each event that CloudTrail returns becomes a message. Floci does not record 
the API calls it serves, so its LookupEvents
+# returns no event: the Citrus HTTP server stands in for CloudTrail.
+actions:
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/cloudtrail/aws-cloudtrail-source-route.yaml"
+            systemProperties:
+              file: "aws/aws-stand-in.properties"
+
+  # The events of the service of the eventSource option are looked up
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/"
+          headers:
+            - name: "X-Amz-Target"
+              value: 
'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.LookupEvents'
+        validate:
+          - jsonPath:
+              - expression: '$.LookupAttributes[0].AttributeKey'
+                value: 'EventSource'
+              - expression: '$.LookupAttributes[0].AttributeValue'
+                value: 'secretsmanager.amazonaws.com'
+
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          headers:
+            - name: "Content-Type"
+              value: 'application/x-amz-json-1.1'
+          body:
+            data: 
'{"Events":[{"EventId":"event-1","EventName":"GetSecretValue","EventSource":"secretsmanager.amazonaws.com","EventTime":1767261600,"Username":"alice","CloudTrailEvent":"{\"eventVersion\":\"1.08\",\"eventName\":\"GetSecretValue\",\"eventSource\":\"secretsmanager.amazonaws.com\",\"userIdentity\":{\"userName\":\"alice\"}}"}]}'
+
+  # The body is the CloudTrail record of the event, and the headers name the 
event
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          headers:
+            - name: "X-Body-Type"
+              value: '[B'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Event-Id"
+              value: 'event-1'
+            - name: "X-Event-Name"
+              value: 'GetSecretValue'
+            - name: "X-Event-Source"
+              value: 'secretsmanager.amazonaws.com'
+            - name: "X-Username"
+              value: 'alice'
+          body:
+            data: 
'{"eventVersion":"1.08","eventName":"GetSecretValue","eventSource":"secretsmanager.amazonaws.com","userIdentity":{"userName":"alice"}}'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/cloudtrail/aws-cloudtrail-source-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/cloudtrail/aws-cloudtrail-source-route.yaml
new file mode 100644
index 000000000..a07d8f979
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/cloudtrail/aws-cloudtrail-source-route.yaml
@@ -0,0 +1,58 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      # The ID of the route of the Kamelet, so that the route can stop it
+      uri: "kamelet:aws-cloudtrail-source/cloudtrail-events"
+      parameters:
+        eventSource: "secretsmanager.amazonaws.com"
+        accessKey: "{{aws.accessKey}}"
+        secretKey: "{{aws.secretKey}}"
+        region: "{{aws.region}}"
+        overrideEndpoint: "true"
+        uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+      steps:
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Event-Id
+            simple: '${header.CamelAwsCloudTrailEventId}'
+        - setHeader:
+            name: X-Event-Name
+            simple: '${header.CamelAwsCloudTrailEventName}'
+        - setHeader:
+            name: X-Event-Source
+            simple: '${header.CamelAwsCloudTrailEventSource}'
+        - setHeader:
+            name: X-Username
+            simple: '${header.CamelAwsCloudTrailEventUsername}'
+        - convertBodyTo:
+            type: String
+        - to:
+            uri: "{{http.sink.url}}/result"
+        # The Citrus HTTP server answers one lookup only: stop looking up 
events
+        - to:
+            uri: "controlbus:route"
+            parameters:
+              routeId: "cloudtrail-events"
+              action: "stop"
+              async: true
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/cloudwatch/aws-cloudwatch-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/cloudwatch/aws-cloudwatch-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..b942e3e85
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/cloudwatch/aws-cloudwatch-sink-route.citrus.it.yaml
@@ -0,0 +1,86 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-cloudwatch-sink-route-test
+# The headers give the name, value, unit and dimension of the metric; the data 
point arrives in CloudWatch
+variables:
+  - name: "cw.start"
+    value: 'citrus:currentDate(''yyyy-MM-dd'', ''-1d'')'
+  - name: "cw.end"
+    value: 'citrus:currentDate(''yyyy-MM-dd'', ''+2d'')'
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "CLOUD_WATCH"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/cloudwatch/aws-cloudwatch-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+
+  # The message is unchanged
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "metric-name"
+              value: 'OrdersProcessed'
+          body:
+            data: 'order ORD-1'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # The data point is in CloudWatch, with its dimension, value and unit
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      sendRequest:
+        POST:
+          path: "/"
+          contentType: "application/x-www-form-urlencoded"
+          body:
+            data: 
'Action=GetMetricStatistics&Version=2010-08-01&Namespace=Shop&MetricName=OrdersProcessed&Dimensions.member.1.Name=Shop&Dimensions.member.1.Value=Rome&StartTime=${cw.start}&EndTime=${cw.end}&Period=259200&Statistics.member.1=Sum'
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      receiveResponse:
+        response:
+          status: 200
+          type: "plaintext"
+          body:
+            data: 
'@matches(''(?s).*<Label>OrdersProcessed</Label>.*<Sum>3.0</Sum><Unit>Count</Unit>.*'')@'
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/cloudwatch/aws-cloudwatch-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/cloudwatch/aws-cloudwatch-sink-route.yaml
new file mode 100644
index 000000000..1fbe7eca7
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/cloudwatch/aws-cloudwatch-sink-route.yaml
@@ -0,0 +1,60 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setHeader:
+            name: metric-name
+            constant: 'OrdersProcessed'
+        - setHeader:
+            name: metric-value
+            constant: '3'
+        - setHeader:
+            name: metric-unit
+            constant: 'Count'
+        - setHeader:
+            name: metric-dimension-name
+            constant: 'Shop'
+        - setHeader:
+            name: metric-dimension-value
+            constant: 'Rome'
+        - setBody:
+            constant: 'order ORD-1'
+        - to:
+            uri: "kamelet:aws-cloudwatch-sink"
+            parameters:
+              cwNamespace: "Shop"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/comprehend/aws-comprehend-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/comprehend/aws-comprehend-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..6a11ceea9
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/comprehend/aws-comprehend-sink-route.citrus.it.yaml
@@ -0,0 +1,65 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-comprehend-sink-route-test
+# The dominant language of the text, in the body and the headers
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "S3"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/comprehend/aws-comprehend-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+
+  # The body is a List of DominantLanguage objects
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.util.Collections$UnmodifiableRandomAccessList'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Language"
+              value: 'en'
+            - name: "X-Score"
+              value: '@notEmpty()@'
+          body:
+            data: 'en'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/comprehend/aws-comprehend-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/comprehend/aws-comprehend-sink-route.yaml
new file mode 100644
index 000000000..e0100ef13
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/comprehend/aws-comprehend-sink-route.yaml
@@ -0,0 +1,51 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setBody:
+            constant: 'Hello world, this is an English text'
+        - to:
+            uri: "kamelet:aws-comprehend-sink"
+            parameters:
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Language
+            simple: '${header.CamelAwsComprehendDetectedLanguage}'
+        - setHeader:
+            name: X-Score
+            simple: '${header.CamelAwsComprehendDetectedLanguageScore}'
+        - setBody:
+            simple: '${body[0].languageCode()}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/ec2/aws-ec2-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/ec2/aws-ec2-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..438e90c38
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/ec2/aws-ec2-sink-route.citrus.it.yaml
@@ -0,0 +1,75 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-ec2-sink-route-test
+# The status of the instance in the instanceIds header, and of no other 
instance
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "EC2"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  # Two running instances
+  - groovy:
+      script:
+        file: "aws/ec2/runInstances.groovy"
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/ec2/aws-ec2-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+              properties:
+                - name: "ec2.instanceId"
+                  value: "${ec2.instanceId}"
+
+  # The body is the DescribeInstanceStatusResponse of the one instance
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 
'software.amazon.awssdk.services.ec2.model.DescribeInstanceStatusResponse'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Count"
+              value: '1'
+            - name: "X-State"
+              value: 'running'
+            - name: "X-Instance-Status"
+              value: 'ok'
+          body:
+            data: '${ec2.instanceId}'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/ec2/aws-ec2-sink-route.yaml 
b/tests/camel-kamelets-itest/src/test/resources/aws/ec2/aws-ec2-sink-route.yaml
new file mode 100644
index 000000000..4941b2f85
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/ec2/aws-ec2-sink-route.yaml
@@ -0,0 +1,55 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setHeader:
+            name: instanceIds
+            constant: '{{ec2.instanceId}}'
+        - to:
+            uri: "kamelet:aws-ec2-sink"
+            parameters:
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Count
+            simple: '${body.instanceStatuses().size()}'
+        - setHeader:
+            name: X-State
+            simple: 
'${body.instanceStatuses()[0].instanceState().nameAsString()}'
+        - setHeader:
+            name: X-Instance-Status
+            simple: 
'${body.instanceStatuses()[0].instanceStatus().statusAsString()}'
+        - setBody:
+            simple: '${body.instanceStatuses()[0].instanceId()}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/ec2/runInstances.groovy 
b/tests/camel-kamelets-itest/src/test/resources/aws/ec2/runInstances.groovy
new file mode 100644
index 000000000..f6d44029b
--- /dev/null
+++ b/tests/camel-kamelets-itest/src/test/resources/aws/ec2/runInstances.groovy
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.net.URI
+import java.net.http.HttpClient
+import java.net.http.HttpRequest
+import java.net.http.HttpResponse
+
+// Floci emulates EC2 instances as metadata: they are running at once
+def client = HttpClient.newHttpClient()
+def runInstance = {
+    def request = 
HttpRequest.newBuilder(URI.create(context.getVariable('CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL')
 + '/'))
+            .header('Content-Type', 'application/x-www-form-urlencoded')
+            
.POST(HttpRequest.BodyPublishers.ofString('Action=RunInstances&Version=2016-11-15&ImageId=ami-12345678&InstanceType=t2.micro&MinCount=1&MaxCount=1'))
+            .build()
+    def answer = client.send(request, 
HttpResponse.BodyHandlers.ofString()).body()
+    def matcher = answer =~ /<instanceId>([^<]+)<\/instanceId>/
+    if (!matcher.find()) {
+        throw new IllegalStateException('No instance in ' + answer)
+    }
+    return matcher.group(1)
+}
+context.setVariable('ec2.instanceId', runInstance())
+context.setVariable('ec2.otherInstanceId', runInstance())
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/firehose/aws-kinesis-firehose-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/firehose/aws-kinesis-firehose-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..c26b23549
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/firehose/aws-kinesis-firehose-sink-route.citrus.it.yaml
@@ -0,0 +1,93 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-kinesis-firehose-sink-route-test
+# The record goes through a delivery stream into an S3 bucket
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "S3"
+          options:
+            buckets: "firehose-bucket"
+            s3ClientName: "firehoseS3Client"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  # A delivery stream that writes to the bucket every second
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      sendRequest:
+        POST:
+          path: "/"
+          contentType: "application/x-amz-json-1.1"
+          headers:
+            - name: "X-Amz-Target"
+              value: "Firehose_20150804.CreateDeliveryStream"
+          body:
+            data: 
'{"DeliveryStreamName":"orders-stream","DeliveryStreamType":"DirectPut","ExtendedS3DestinationConfiguration":{"BucketARN":"arn:aws:s3:::firehose-bucket","RoleARN":"arn:aws:iam::000000000000:role/firehose","Prefix":"orders/","BufferingHints":{"IntervalInSeconds":1,"SizeInMBs":1}}}'
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      receiveResponse:
+        response:
+          status: 200
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/firehose/aws-kinesis-firehose-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+
+  # The message is unchanged, with the ID of the record
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Record-Id"
+              value: '@notEmpty()@'
+          body:
+            data: 'order ORD-1'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # Firehose delivers the record to the bucket within a few seconds
+  - repeatOnError:
+      until: "i > 30"
+      autoSleep: 1000
+      actions:
+        - groovy:
+            script:
+              file: "aws/firehose/verifyDelivery.groovy"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/firehose/aws-kinesis-firehose-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/firehose/aws-kinesis-firehose-sink-route.yaml
new file mode 100644
index 000000000..9290dc75d
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/firehose/aws-kinesis-firehose-sink-route.yaml
@@ -0,0 +1,47 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setBody:
+            constant: 'order ORD-1'
+        - to:
+            uri: "kamelet:aws-kinesis-firehose-sink"
+            parameters:
+              streamName: "orders-stream"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Record-Id
+            simple: '${header.CamelAwsKinesisFirehoseRecordId}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/firehose/verifyDelivery.groovy
 
b/tests/camel-kamelets-itest/src/test/resources/aws/firehose/verifyDelivery.groovy
new file mode 100644
index 000000000..8efe606aa
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/firehose/verifyDelivery.groovy
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.citrusframework.exceptions.CitrusRuntimeException
+import software.amazon.awssdk.services.s3.S3Client
+
+S3Client s3 = context.getReferenceResolver().resolve("firehoseS3Client", 
S3Client.class)
+
+def objects = s3.listObjectsV2(b -> 
b.bucket('firehose-bucket').prefix('orders/')).contents()
+if (objects.size() != 1) {
+    // Fails this attempt, so that repeatOnError asks again
+    throw new CitrusRuntimeException("Expected one file in the bucket but got 
" + objects)
+}
+
+String content = s3.getObjectAsBytes(b -> 
b.bucket('firehose-bucket').key(objects[0].key())).asUtf8String()
+// Floci ends each record that it writes with a line break; Amazon Data 
Firehose writes the record as it is
+assert content == 'order ORD-1\n' : "Unexpected file content '" + content + "'"
diff --git a/tests/camel-kamelets-itest/src/test/resources/aws/floci.properties 
b/tests/camel-kamelets-itest/src/test/resources/aws/floci.properties
new file mode 100644
index 000000000..da504236d
--- /dev/null
+++ b/tests/camel-kamelets-itest/src/test/resources/aws/floci.properties
@@ -0,0 +1,23 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# The Floci container that stands in for AWS
+aws.uriEndpointOverride=${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}
+aws.accessKey=${CITRUS_TESTCONTAINERS_LOCALSTACK_ACCESS_KEY}
+aws.secretKey=${CITRUS_TESTCONTAINERS_LOCALSTACK_SECRET_KEY}
+aws.region=${CITRUS_TESTCONTAINERS_LOCALSTACK_REGION}
+http.sink.url=http://localhost:${aws.sink.server.port}
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/lambda/aws-lambda-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/lambda/aws-lambda-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..358265253
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/lambda/aws-lambda-sink-route.citrus.it.yaml
@@ -0,0 +1,137 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-lambda-sink-route-test
+# The body is the event of the function, and what the function returns becomes 
the body. The Citrus HTTP server
+# stands in for AWS Lambda: Floci runs functions in Docker containers, which 
it cannot reach from its own container.
+actions:
+  # The Kamelet has no uriEndpointOverride: the AWS SDK takes the endpoint 
from the environment
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/lambda/aws-lambda-sink-route.yaml"
+            environment:
+              variables:
+                - name: "AWS_ENDPOINT_URL_LAMBDA"
+                  value: "http://localhost:${aws.sink.server.port}";
+            systemProperties:
+              file: "aws/aws-stand-in.properties"
+
+  # The function is called with the body as its event
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/2015-03-31/functions/enrich-order/invocations"
+          body:
+            data: '{"orderId":"A-1"}'
+
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          headers:
+            - name: "Content-Type"
+              value: 'application/json'
+            - name: "X-Amz-Executed-Version"
+              value: '$LATEST'
+          body:
+            data: '{"orderId":"A-1","status":"enriched"}'
+
+  # What the function returned is the body
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Status-Code"
+              value: '200'
+            - name: "X-Function-Error"
+              value: 'error='
+          body:
+            data: '{"orderId":"A-1","status":"enriched"}'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # An error raised in the function does not fail the message
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/2015-03-31/functions/enrich-order/invocations"
+          body:
+            data: '{"orderId":"A-2"}'
+
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          headers:
+            - name: "Content-Type"
+              value: 'application/json'
+            - name: "X-Amz-Executed-Version"
+              value: '$LATEST'
+            - name: "X-Amz-Function-Error"
+              value: 'Unhandled'
+          body:
+            data: '{"errorMessage":"Order A-2 not 
found","errorType":"Exception"}'
+
+  # The body is the error that the function reported
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Status-Code"
+              value: '200'
+            - name: "X-Function-Error"
+              value: 'error=Unhandled'
+          body:
+            data: '{"errorMessage":"Order A-2 not 
found","errorType":"Exception"}'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/lambda/aws-lambda-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/lambda/aws-lambda-sink-route.yaml
new file mode 100644
index 000000000..cb833b59f
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/lambda/aws-lambda-sink-route.yaml
@@ -0,0 +1,49 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 2
+        includeMetadata: true
+      steps:
+        - setBody:
+            simple: '{"orderId":"A-${exchangeProperty.CamelTimerCounter}"}'
+        - to:
+            uri: "kamelet:aws-lambda-sink"
+            parameters:
+              function: "enrich-order"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Status-Code
+            simple: '${header.CamelAwsLambdaStatusCode}'
+        - setHeader:
+            name: X-Function-Error
+            simple: 'error=${header.CamelAwsLambdaFunctionError}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/polly/aws-polly-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/polly/aws-polly-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..0e1b999f5
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/polly/aws-polly-sink-route.citrus.it.yaml
@@ -0,0 +1,80 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-polly-sink-route-test
+# The text is turned into speech, and the audio becomes the body. Floci does 
not emulate Amazon Polly: the Citrus HTTP
+# server stands in for it.
+actions:
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/polly/aws-polly-sink-route.yaml"
+            systemProperties:
+              file: "aws/aws-stand-in.properties"
+
+  # Polly is asked to speak the body with the voice of the option
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/v1/speech"
+          body:
+            data: '{"OutputFormat":"mp3","Text":"Your order has 
shipped","TextType":"text","VoiceId":"Joanna"}'
+
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          headers:
+            - name: "Content-Type"
+              value: 'audio/mpeg'
+            - name: "x-amzn-RequestCharacters"
+              value: '22'
+          body:
+            data: 'ID3 audio of the text'
+
+  # The body is the audio, as a stream
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'org.apache.camel.converter.stream.InputStreamCache'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Audio-Type"
+              value: 'audio/mpeg'
+            - name: "X-Request-Characters"
+              value: '22'
+          body:
+            data: 'ID3 audio of the text'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/polly/aws-polly-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/polly/aws-polly-sink-route.yaml
new file mode 100644
index 000000000..86040e691
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/polly/aws-polly-sink-route.yaml
@@ -0,0 +1,52 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setBody:
+            constant: 'Your order has shipped'
+        - to:
+            uri: "kamelet:aws-polly-sink"
+            parameters:
+              voiceId: "Joanna"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Audio-Type
+            simple: '${header.CamelAwsPollyContentType}'
+        - setHeader:
+            name: X-Request-Characters
+            simple: '${header.CamelAwsPollyRequestCharacters}'
+        - convertBodyTo:
+            type: String
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/s3/aws-s3-streaming-upload-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/s3/aws-s3-streaming-upload-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..2bc412840
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/s3/aws-s3-streaming-upload-sink-route.citrus.it.yaml
@@ -0,0 +1,103 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-s3-streaming-upload-sink-route-test
+# Two messages go into one file; the second one completes it
+variables:
+  - name: "aws.s3.bucketNameOrArn"
+    value: 'streaming-bucket'
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "S3"
+          options:
+            buckets: "${aws.s3.bucketNameOrArn}"
+            s3ClientName: "s3StreamingClient"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/s3/aws-s3-streaming-upload-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+              properties:
+                - name: "aws.s3.bucketNameOrArn"
+                  value: "${aws.s3.bucketNameOrArn}"
+
+  # The first message is added to the file, which is not uploaded yet
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-ETag"
+              value: 'etag='
+          body:
+            data: 'line 1;'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # The second message completes the file, and gets its ETag
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-ETag"
+              value: '@matches(''etag=.+'')@'
+          body:
+            data: 'line 2;'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # The file holds both messages
+  - groovy:
+      script:
+        file: "aws/s3/verifyStreamingUpload.groovy"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/s3/aws-s3-streaming-upload-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/s3/aws-s3-streaming-upload-sink-route.yaml
new file mode 100644
index 000000000..517d7ce56
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/s3/aws-s3-streaming-upload-sink-route.yaml
@@ -0,0 +1,51 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 2
+        includeMetadata: true
+      steps:
+        - setBody:
+            simple: 'line ${exchangeProperty.CamelTimerCounter};'
+        - to:
+            uri: "kamelet:aws-s3-streaming-upload-sink"
+            parameters:
+              bucketNameOrArn: "{{aws.s3.bucketNameOrArn}}"
+              keyName: "logs/app.log"
+              batchMessageNumber: "2"
+              forcePathStyle: "true"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-ETag
+            simple: 'etag=${header.CamelAwsS3ETag}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/s3/verifyStreamingUpload.groovy
 
b/tests/camel-kamelets-itest/src/test/resources/aws/s3/verifyStreamingUpload.groovy
new file mode 100644
index 000000000..1450c725e
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/s3/verifyStreamingUpload.groovy
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import software.amazon.awssdk.services.s3.S3Client
+
+S3Client s3 = context.getReferenceResolver().resolve("s3StreamingClient", 
S3Client.class)
+
+def keys = s3.listObjectsV2(b -> 
b.bucket('${aws.s3.bucketNameOrArn}')).contents().collect { it.key() }
+assert keys == ['logs/app.log'] : "Expected one file named logs/app.log but 
got " + keys
+
+String content = s3.getObjectAsBytes(b -> 
b.bucket('${aws.s3.bucketNameOrArn}').key('logs/app.log')).asUtf8String()
+assert content == 'line 1;line 2;' : "Unexpected file content '" + content + 
"'"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/secretsmanager/aws-secrets-manager-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/secretsmanager/aws-secrets-manager-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..d897e50df
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/secretsmanager/aws-secrets-manager-sink-route.citrus.it.yaml
@@ -0,0 +1,94 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-secrets-manager-sink-route-test
+# The body becomes the value of a new secret, named by the secret-name header
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "SECRETS_MANAGER"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  # The Kamelet has no uriEndpointOverride: the AWS SDK takes the endpoint 
from the environment
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/secretsmanager/aws-secrets-manager-sink-route.yaml"
+            environment:
+              variables:
+                - name: "AWS_ENDPOINT_URL_SECRETS_MANAGER"
+                  value: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+            systemProperties:
+              file: "aws/floci.properties"
+
+  # The body is the CreateSecretResponse
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 
'software.amazon.awssdk.services.secretsmanager.model.CreateSecretResponse'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Secret-Name"
+              value: 'db-password'
+            - name: "X-Secret-Arn"
+              value: '@startsWith(''arn:aws:secretsmanager:'')@'
+          body:
+            data: 'created'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # The secret has the body as its value
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      sendRequest:
+        POST:
+          path: "/"
+          contentType: "application/x-amz-json-1.1"
+          headers:
+            - name: "X-Amz-Target"
+              value: "secretsmanager.GetSecretValue"
+          body:
+            data: '{"SecretId":"db-password"}'
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      receiveResponse:
+        response:
+          status: 200
+        validate:
+          - jsonPath:
+              - expression: '$.Name'
+                value: 'db-password'
+              - expression: '$.SecretString'
+                value: 's3cr3t'
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/secretsmanager/aws-secrets-manager-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/secretsmanager/aws-secrets-manager-sink-route.yaml
new file mode 100644
index 000000000..6fc6d7223
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/secretsmanager/aws-secrets-manager-sink-route.yaml
@@ -0,0 +1,52 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setHeader:
+            name: secret-name
+            constant: 'db-password'
+        - setBody:
+            constant: 's3cr3t'
+        - to:
+            uri: "kamelet:aws-secrets-manager-sink"
+            parameters:
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Secret-Name
+            simple: '${body.name()}'
+        - setHeader:
+            name: X-Secret-Arn
+            simple: '${body.arn()}'
+        - setBody:
+            constant: 'created'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/ses/aws-ses-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/ses/aws-ses-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..372150466
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/ses/aws-ses-sink-route.citrus.it.yaml
@@ -0,0 +1,102 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-ses-sink-route-test
+# The body is sent as the text of an email to the address in the to header
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "S3"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  # The sender must be verified
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      sendRequest:
+        POST:
+          path: "/"
+          contentType: "application/x-www-form-urlencoded"
+          body:
+            data: 
'Action=VerifyEmailIdentity&Version=2010-12-01&[email protected]'
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      receiveResponse:
+        response:
+          status: 200
+          type: "plaintext"
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/ses/aws-ses-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+
+  # The message is unchanged, with the ID of the email
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Message-Id"
+              value: '@notEmpty()@'
+          body:
+            data: 'Your order ORD-1 has shipped'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # The email that SES sent
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}/_aws/ses"
+      sendRequest:
+        GET: {}
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}/_aws/ses"
+      receiveResponse:
+        response:
+          status: 200
+        validate:
+          - jsonPath:
+              - expression: "$.messages.length()"
+                value: "1"
+              - expression: "$.messages[0].Source"
+                value: "[email protected]"
+              - expression: "$.messages[0].Destination.ToAddresses[0]"
+                value: "[email protected]"
+              - expression: "$.messages[0].Subject"
+                value: "Order shipped"
+              - expression: "$.messages[0].Body.text_part"
+                value: "Your order ORD-1 has shipped"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/ses/aws-ses-sink-route.yaml 
b/tests/camel-kamelets-itest/src/test/resources/aws/ses/aws-ses-sink-route.yaml
new file mode 100644
index 000000000..05765bdfe
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/ses/aws-ses-sink-route.yaml
@@ -0,0 +1,53 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setHeader:
+            name: to
+            constant: '[email protected]'
+        - setHeader:
+            name: subject
+            constant: 'Order shipped'
+        - setBody:
+            constant: 'Your order ORD-1 has shipped'
+        - to:
+            uri: "kamelet:aws-ses-sink"
+            parameters:
+              from: "[email protected]"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Message-Id
+            simple: '${header.CamelAwsSesMessageId}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/sns/aws-sns-fifo-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/sns/aws-sns-fifo-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..12e90c2e0
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/sns/aws-sns-fifo-sink-route.citrus.it.yaml
@@ -0,0 +1,106 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-sns-fifo-sink-route-test
+# The message is published to a FIFO topic, in the group of the group header, 
and reaches the FIFO queue subscribed to it
+variables:
+  - name: "aws.sns.topicName"
+    value: 'orders.fifo'
+  - name: "aws.sqs.queueName"
+    value: 'orders-subscriber.fifo'
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "SNS"
+            - "SQS"
+          options:
+            snsClientName: "snsFifoClient"
+            sqsClientName: "sqsFifoClient"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  # A FIFO topic with a FIFO queue subscribed to it
+  - groovy:
+      script:
+        file: "aws/sns/setupFifoSnsToSqs.groovy"
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/sns/aws-sns-fifo-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+              properties:
+                - name: "aws.sns.topicName"
+                  value: "${aws.sns.topicName}"
+
+  # The message is unchanged, with the ID of the published message
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Message-Id"
+              value: '@notEmpty()@'
+          body:
+            data: 'order ORD-1'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # The queue got the message, in the group of the header
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      sendRequest:
+        POST:
+          path: "/"
+          contentType: "application/x-amz-json-1.0"
+          headers:
+            - name: "X-Amz-Target"
+              value: "AmazonSQS.ReceiveMessage"
+          body:
+            data: 
'{"QueueUrl":"${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}/000000000000/${aws.sqs.queueName}","MaxNumberOfMessages":10,"WaitTimeSeconds":5,"MessageSystemAttributeNames":["All"],"MessageAttributeNames":["All"]}'
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      receiveResponse:
+        response:
+          status: 200
+        validate:
+          - jsonPath:
+              - expression: '$.Messages.length()'
+                value: '1'
+              - expression: '$.Messages[0].Body'
+                value: 'order ORD-1'
+              - expression: '$.Messages[0].Attributes.MessageGroupId'
+                value: 'customer-1'
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/sns/aws-sns-fifo-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/sns/aws-sns-fifo-sink-route.yaml
new file mode 100644
index 000000000..06060ee58
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/sns/aws-sns-fifo-sink-route.yaml
@@ -0,0 +1,53 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setHeader:
+            name: group
+            constant: 'customer-1'
+        - setHeader:
+            name: subject
+            constant: 'Order update'
+        - setBody:
+            constant: 'order ORD-1'
+        - to:
+            uri: "kamelet:aws-sns-fifo-sink"
+            parameters:
+              topicNameOrArn: "{{aws.sns.topicName}}"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Message-Id
+            simple: '${header.CamelAwsSnsMessageId}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/sns/setupFifoSnsToSqs.groovy
 
b/tests/camel-kamelets-itest/src/test/resources/aws/sns/setupFifoSnsToSqs.groovy
new file mode 100644
index 000000000..78dfe520f
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/sns/setupFifoSnsToSqs.groovy
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import software.amazon.awssdk.services.sns.SnsClient
+import software.amazon.awssdk.services.sqs.SqsClient
+import software.amazon.awssdk.services.sqs.model.QueueAttributeName
+
+SnsClient snsClient = context.getReferenceResolver().resolve("snsFifoClient", 
SnsClient.class)
+SqsClient sqsClient = context.getReferenceResolver().resolve("sqsFifoClient", 
SqsClient.class)
+
+def topicArn = snsClient.createTopic(b -> b.name('${aws.sns.topicName}')
+        .attributes(Collections.singletonMap("FifoTopic", "true"))).topicArn()
+
+def queueUrl = sqsClient.createQueue(b -> b.queueName('${aws.sqs.queueName}')
+        .attributes(Collections.singletonMap(QueueAttributeName.FIFO_QUEUE, 
"true"))).queueUrl()
+def queueArn = sqsClient.getQueueAttributes(b -> b.queueUrl(queueUrl)
+        .attributeNames(QueueAttributeName.QUEUE_ARN))
+        .attributes().get(QueueAttributeName.QUEUE_ARN)
+
+snsClient.subscribe(b -> 
b.topicArn(topicArn).protocol("sqs").endpoint(queueArn)
+        .attributes(Collections.singletonMap("RawMessageDelivery", "true")))
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-batch-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-batch-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..f8bee817d
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-batch-sink-route.citrus.it.yaml
@@ -0,0 +1,101 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-sqs-batch-sink-route-test
+# The text is split at the separator, and each part becomes one SQS message
+variables:
+  - name: "aws.sqs.queueName"
+    value: 'batch-queue'
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "SQS"
+          options:
+            queues: "${aws.sqs.queueName}"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/sqs/aws-sqs-batch-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+              properties:
+                - name: "aws.sqs.queueName"
+                  value: "${aws.sqs.queueName}"
+
+  # The body is the SendMessageBatchResponse
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 
'software.amazon.awssdk.services.sqs.model.SendMessageBatchResponse'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Successful"
+              value: '3'
+            - name: "X-Failed"
+              value: '0'
+          body:
+            data: '3 sent'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # The queue holds one message per part
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      sendRequest:
+        POST:
+          path: "/"
+          contentType: "application/x-amz-json-1.0"
+          headers:
+            - name: "X-Amz-Target"
+              value: "AmazonSQS.ReceiveMessage"
+          body:
+            data: 
'{"QueueUrl":"${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}/000000000000/${aws.sqs.queueName}","MaxNumberOfMessages":10,"WaitTimeSeconds":5}'
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      receiveResponse:
+        response:
+          status: 200
+        validate:
+          - jsonPath:
+              - expression: '$.Messages.length()'
+                value: '3'
+              - expression: '$.Messages[0].Body'
+                value: 'one'
+              - expression: '$.Messages[1].Body'
+                value: 'two'
+              - expression: '$.Messages[2].Body'
+                value: 'three'
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-batch-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-batch-sink-route.yaml
new file mode 100644
index 000000000..992016ee1
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-batch-sink-route.yaml
@@ -0,0 +1,53 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setBody:
+            constant: 'one,two,three'
+        - to:
+            uri: "kamelet:aws-sqs-batch-sink"
+            parameters:
+              queueNameOrArn: "{{aws.sqs.queueName}}"
+              batchSeparator: ","
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Successful
+            simple: '${header.CamelAwsSqsSuccessfulMessageCount}'
+        - setHeader:
+            name: X-Failed
+            simple: '${header.CamelAwsSqsFailedMessageCount}'
+        - setBody:
+            simple: '${body.successful().size()} sent'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-fifo-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-fifo-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..dc12cfd35
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-fifo-sink-route.citrus.it.yaml
@@ -0,0 +1,101 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-sqs-fifo-sink-route-test
+# The message goes to a FIFO queue, in the group of the group header
+variables:
+  - name: "aws.sqs.queueName"
+    value: 'orders.fifo'
+actions:
+  # Create AWS infrastructure (Floci container)
+  - testcontainers:
+      start:
+        localstack:
+          services:
+            - "SQS"
+          options:
+            sqsClientName: "sqsFifoClient"
+  - waitFor:
+      http:
+        url: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+
+  - groovy:
+      script:
+        file: "aws/sqs/createFifoQueue.groovy"
+
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/sqs/aws-sqs-fifo-sink-route.yaml"
+            systemProperties:
+              file: "aws/floci.properties"
+              properties:
+                - name: "aws.sqs.queueName"
+                  value: "${aws.sqs.queueName}"
+
+  # The message is unchanged, with the ID of the SQS message
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 'java.lang.String'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Message-Id"
+              value: '@notEmpty()@'
+          body:
+            data: 'order ORD-1'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
+
+  # The queue holds the message, in the group of the header
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      sendRequest:
+        POST:
+          path: "/"
+          contentType: "application/x-amz-json-1.0"
+          headers:
+            - name: "X-Amz-Target"
+              value: "AmazonSQS.ReceiveMessage"
+          body:
+            data: 
'{"QueueUrl":"${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}/000000000000/${aws.sqs.queueName}","MaxNumberOfMessages":10,"WaitTimeSeconds":5,"MessageSystemAttributeNames":["All"]}'
+  - http:
+      client: "${CITRUS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}"
+      receiveResponse:
+        response:
+          status: 200
+        validate:
+          - jsonPath:
+              - expression: '$.Messages.length()'
+                value: '1'
+              - expression: '$.Messages[0].Body'
+                value: 'order ORD-1'
+              - expression: '$.Messages[0].Attributes.MessageGroupId'
+                value: 'customer-1'
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-fifo-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-fifo-sink-route.yaml
new file mode 100644
index 000000000..d48985ec5
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/aws-sqs-fifo-sink-route.yaml
@@ -0,0 +1,50 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setHeader:
+            name: group
+            constant: 'customer-1'
+        - setBody:
+            constant: 'order ORD-1'
+        - to:
+            uri: "kamelet:aws-sqs-fifo-sink"
+            parameters:
+              queueNameOrArn: "{{aws.sqs.queueName}}"
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Message-Id
+            simple: '${header.CamelAwsSqsMessageId}'
+        - to:
+            uri: "{{http.sink.url}}/result"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/sqs/createFifoQueue.groovy 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/createFifoQueue.groovy
new file mode 100644
index 000000000..3aa37c905
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/sqs/createFifoQueue.groovy
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import software.amazon.awssdk.services.sqs.SqsClient
+import software.amazon.awssdk.services.sqs.model.QueueAttributeName
+
+SqsClient sqsClient = context.getReferenceResolver().resolve("sqsFifoClient", 
SqsClient.class)
+sqsClient.createQueue(b -> b.queueName('${aws.sqs.queueName}')
+        .attributes(Collections.singletonMap(QueueAttributeName.FIFO_QUEUE, 
"true")))
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/timestream/aws-timestream-query-sink-route.citrus.it.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/timestream/aws-timestream-query-sink-route.citrus.it.yaml
new file mode 100644
index 000000000..8d92d63fa
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/timestream/aws-timestream-query-sink-route.citrus.it.yaml
@@ -0,0 +1,83 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+name: aws-timestream-query-sink-route-test
+# The query in the query header is run, and the answer becomes the body. Floci 
does not emulate Timestream queries:
+# the Citrus HTTP server stands in for it.
+actions:
+  - camel:
+      cli:
+        run:
+          integration:
+            file: "aws/timestream/aws-timestream-query-sink-route.yaml"
+            systemProperties:
+              file: "aws/aws-stand-in.properties"
+
+  # The query of the header is run
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/"
+          headers:
+            - name: "X-Amz-Target"
+              value: 'Timestream_20181101.Query'
+        validate:
+          - jsonPath:
+              - expression: '$.QueryString'
+                value: 'SELECT sensor, temperature FROM sensors.readings'
+
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          headers:
+            - name: "Content-Type"
+              value: 'application/x-amz-json-1.0'
+          body:
+            data: 
'{"QueryId":"query-1","Rows":[{"Data":[{"ScalarValue":"sensor-1"},{"ScalarValue":"21.5"}]}],"ColumnInfo":[{"Name":"sensor","Type":{"ScalarType":"VARCHAR"}},{"Name":"temperature","Type":{"ScalarType":"DOUBLE"}}]}'
+
+  # The body is the QueryResponse
+  - http:
+      server: "awsSinkServer"
+      receiveRequest:
+        POST:
+          path: "/result"
+          type: "plaintext"
+          headers:
+            - name: "X-Body-Type"
+              value: 
'software.amazon.awssdk.services.timestreamquery.model.QueryResponse'
+            - name: "X-Content-Type"
+              value: 'ct='
+            - name: "X-Rows"
+              value: '1'
+            - name: "X-Column"
+              value: 'temperature'
+          body:
+            data: '21.5'
+  - http:
+      server: "awsSinkServer"
+      sendResponse:
+        response:
+          status: 200
+          reasonPhrase: "OK"
+          version: "HTTP/1.1"
+          body:
+            data: "OK"
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/timestream/aws-timestream-query-sink-route.yaml
 
b/tests/camel-kamelets-itest/src/test/resources/aws/timestream/aws-timestream-query-sink-route.yaml
new file mode 100644
index 000000000..8c3167156
--- /dev/null
+++ 
b/tests/camel-kamelets-itest/src/test/resources/aws/timestream/aws-timestream-query-sink-route.yaml
@@ -0,0 +1,52 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+- route:
+    from:
+      uri: "timer:tick"
+      parameters:
+        period: "1000"
+        repeatCount: 1
+      steps:
+        - setHeader:
+            name: query
+            constant: 'SELECT sensor, temperature FROM sensors.readings'
+        - to:
+            uri: "kamelet:aws-timestream-query-sink"
+            parameters:
+              accessKey: "{{aws.accessKey}}"
+              secretKey: "{{aws.secretKey}}"
+              region: "{{aws.region}}"
+              overrideEndpoint: "true"
+              uriEndpointOverride: "{{aws.uriEndpointOverride}}"
+        # What the Kamelet leaves on the message
+        - setHeader:
+            name: X-Body-Type
+            simple: "${body.getClass().getName()}"
+        - setHeader:
+            name: X-Content-Type
+            simple: "ct=${header.Content-Type}"
+        - setHeader:
+            name: X-Rows
+            simple: '${body.rows().size()}'
+        - setHeader:
+            name: X-Column
+            simple: '${body.columnInfo()[1].name()}'
+        - setBody:
+            simple: '${body.rows()[0].data()[1].scalarValue()}'
+        - to:
+            uri: "{{http.sink.url}}/result"

Reply via email to