davsclaus commented on a change in pull request #3824:
URL: https://github.com/apache/camel/pull/3824#discussion_r424930718
##########
File path:
components/camel-webhook/src/main/java/org/apache/camel/component/webhook/WebhookEndpoint.java
##########
@@ -78,10 +79,16 @@ public void afterPropertiesConfigured(CamelContext
camelContext) {
delegateEndpoint.setWebhookConfiguration(configuration);
}
+ @Override
+ protected void doInit() throws Exception {
+ super.doInit();
+ ServiceHelper.initService(delegateEndpoint);
+ }
+
@Override
protected void doStart() throws Exception {
super.doStart();
-
+ ServiceHelper.startService(delegateEndpoint);
Review comment:
Thats taken care of internally by Camel to check its state and only
start if not already started etc.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]