This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 3bca3c0 Camel-AWS-CW: Moving the logic of doStart for endpoint in doInit 3bca3c0 is described below commit 3bca3c096798889daf257c8c91a7e50a09d0e04d Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Aug 23 14:40:16 2019 +0200 Camel-AWS-CW: Moving the logic of doStart for endpoint in doInit --- .../src/main/java/org/apache/camel/component/aws/cw/CwEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-aws-cw/src/main/java/org/apache/camel/component/aws/cw/CwEndpoint.java b/components/camel-aws-cw/src/main/java/org/apache/camel/component/aws/cw/CwEndpoint.java index a28287a..40cef85 100644 --- a/components/camel-aws-cw/src/main/java/org/apache/camel/component/aws/cw/CwEndpoint.java +++ b/components/camel-aws-cw/src/main/java/org/apache/camel/component/aws/cw/CwEndpoint.java @@ -60,8 +60,8 @@ public class CwEndpoint extends DefaultEndpoint { } @Override - public void doStart() throws Exception { - super.doStart(); + public void doInit() throws Exception { + super.doInit(); cloudWatchClient = configuration.getAmazonCwClient() != null ? configuration.getAmazonCwClient() : createCloudWatchClient(); }