You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/07/24 12:49:18 UTC

[camel] branch main updated: CAMEL-19642: camel-aws2-ec2 - Should not be scheduled poll endpoint (#10803)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new b9fabffc920 CAMEL-19642: camel-aws2-ec2 - Should not be scheduled poll endpoint (#10803)
b9fabffc920 is described below

commit b9fabffc9207a5b59a342993bfe8fa134a93e320
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jul 24 14:49:13 2023 +0200

    CAMEL-19642: camel-aws2-ec2 - Should not be scheduled poll endpoint (#10803)
---
 .../java/org/apache/camel/component/aws2/ec2/AWS2EC2Endpoint.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-aws/camel-aws2-ec2/src/main/java/org/apache/camel/component/aws2/ec2/AWS2EC2Endpoint.java b/components/camel-aws/camel-aws2-ec2/src/main/java/org/apache/camel/component/aws2/ec2/AWS2EC2Endpoint.java
index 793a5a832ae..db01be8f392 100644
--- a/components/camel-aws/camel-aws2-ec2/src/main/java/org/apache/camel/component/aws2/ec2/AWS2EC2Endpoint.java
+++ b/components/camel-aws/camel-aws2-ec2/src/main/java/org/apache/camel/component/aws2/ec2/AWS2EC2Endpoint.java
@@ -26,7 +26,7 @@ import org.apache.camel.health.HealthCheckHelper;
 import org.apache.camel.impl.health.ComponentsHealthCheckRepository;
 import org.apache.camel.spi.UriEndpoint;
 import org.apache.camel.spi.UriParam;
-import org.apache.camel.support.ScheduledPollEndpoint;
+import org.apache.camel.support.DefaultEndpoint;
 import org.apache.camel.util.ObjectHelper;
 import software.amazon.awssdk.services.ec2.Ec2Client;
 
@@ -36,7 +36,7 @@ import software.amazon.awssdk.services.ec2.Ec2Client;
 @UriEndpoint(firstVersion = "3.1.0", scheme = "aws2-ec2", title = "AWS Elastic Compute Cloud (EC2)",
              syntax = "aws2-ec2:label", producerOnly = true, category = { Category.CLOUD, Category.MANAGEMENT },
              headersClass = AWS2EC2Constants.class)
-public class AWS2EC2Endpoint extends ScheduledPollEndpoint {
+public class AWS2EC2Endpoint extends DefaultEndpoint {
 
     private Ec2Client ec2Client;
     private ComponentsHealthCheckRepository healthCheckRepository;