davsclaus commented on a change in pull request #4087:
URL: https://github.com/apache/camel/pull/4087#discussion_r471245651



##########
File path: 
components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiEventConsumer.java
##########
@@ -37,8 +37,8 @@
     }
 
     @Override
-    protected void doStart() throws Exception {
-        super.doStart();
+    protected void doInit() throws Exception {
+        super.doInit();

Review comment:
       This should be in doStart as we add / remove the consumer when the 
consumer is started/stopped, eg you can stop a consumer/route and then later 
start it. So this should be as before




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to