You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2024/10/13 10:54:23 UTC
[I] Camel 4.9 - Add boot clock to CamelContext to capture boot time [camel-quarkus]
davsclaus opened a new issue, #6630:
URL: https://github.com/apache/camel-quarkus/issues/6630
### Describe the feature here
There is some processing happening before camel context is started and that boot time is now captured in CSB with
https://github.com/apache/camel-spring-boot/commit/32530b8c08237d9f3d024ec69596f3e47c64a1a6
So maybe in CEQ where xxxCamelContext is created the first time, then the boot clock can be added.
That allows Camel to show the boot time spent during its startup message.
--
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: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Camel 4.9 - Add boot clock to CamelContext to capture boot time [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #6630: Camel 4.9 - Add boot clock to CamelContext to capture boot time
URL: https://github.com/apache/camel-quarkus/issues/6630
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Camel 4.9 - Add boot clock to CamelContext to capture boot time [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6630:
URL: https://github.com/apache/camel-quarkus/issues/6630#issuecomment-2514693450
This can work ok for JVM mode.
In native mode, the 'boot' is done during `STATIC_INIT`. So the initial timestamp of when the clock is created will be baked into the native image, which leads to an inaccurate calculation when the boot time is printed.
We should probably just return `null` for the BOOT clock in native mode, since that phase is done at build time.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Camel 4.9 - Add boot clock to CamelContext to capture boot time [camel-quarkus]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #6630:
URL: https://github.com/apache/camel-quarkus/issues/6630#issuecomment-2517293610
yeah you can return null in native mode
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org