aldettinger commented on issue #3394:
URL: https://github.com/apache/camel-quarkus/issues/3394#issuecomment-1004907832


   This issue can be reproduced with camel-quarkus 2.6.0 while it's working 
with pure camel 3.14.0, so the issue relies in camel-quakus.
   
   After investigations:
    + A CamelMainRuntime is assembled and 
[started](https://github.com/apache/camel-quarkus/blob/main/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/main/CamelMainRuntime.java#L49)
    + oacq.main.CamelMain.runEngine() calls 
[waitUntilCompleted()](https://github.com/apache/camel-quarkus/blob/main/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/main/CamelMain.java#L150)
    + `durationMaxSeconds` is equals to zero in 
[oac.main.MainSupport.waitUntilCompleted()](https://github.com/apache/camel/blob/main/core/camel-main/src/main/java/org/apache/camel/main/MainSupport.java#L301..L304)
 while **it should not**
   
   It looks that `durationMaxSeconds` should be set in 
[internalBeforeStart()](https://github.com/apache/camel/blob/main/core/camel-main/src/main/java/org/apache/camel/main/MainSupport.java#L66..L72)
 which is 
[private](https://github.com/apache/camel/blob/main/core/camel-main/src/main/java/org/apache/camel/main/MainSupport.java#L108..L112).
   
   From there I wonder whether `internalBeforeStart()` should be made protected 
? Or maybe `oacq.main.CamelMain` should be changed ?
   @ppalaga @davsclaus  What do you think ?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to