You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/08/22 06:16:13 UTC

[camel] 01/02: Camel AWS Cloudtrail: Only consumer is supported

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

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

commit 2f5d3d89e023924d8732013217af67fa8a3ad4c4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 22 08:12:56 2022 +0200

    Camel AWS Cloudtrail: Only consumer is supported
---
 .../org/apache/camel/component/aws/cloudtrail/CloudtrailEndpoint.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws/camel-aws-cloudtrail/src/main/java/org/apache/camel/component/aws/cloudtrail/CloudtrailEndpoint.java b/components/camel-aws/camel-aws-cloudtrail/src/main/java/org/apache/camel/component/aws/cloudtrail/CloudtrailEndpoint.java
index c5de5e912c7..a3b2337fd2b 100644
--- a/components/camel-aws/camel-aws-cloudtrail/src/main/java/org/apache/camel/component/aws/cloudtrail/CloudtrailEndpoint.java
+++ b/components/camel-aws/camel-aws-cloudtrail/src/main/java/org/apache/camel/component/aws/cloudtrail/CloudtrailEndpoint.java
@@ -30,7 +30,7 @@ import software.amazon.awssdk.services.cloudtrail.CloudTrailClient;
 /**
  * Consume events from Amazon Cloudtrail using AWS SDK version 2.x.
  */
-@UriEndpoint(firstVersion = "3.19.0", scheme = "aws-cloudtrail", title = "AWS Cloudtrail", syntax = "aws-cloudtrail:label",
+@UriEndpoint(firstVersion = "3.19.0", scheme = "aws-cloudtrail", title = "AWS Cloudtrail", syntax = "aws-cloudtrail:label", consumerOnly = true, 
              category = { Category.CLOUD, Category.EVENTBUS }, headersClass = CloudtrailConstants.class)
 public class CloudtrailEndpoint extends ScheduledPollEndpoint {