lobtx commented on PR #30303:
URL: https://github.com/apache/camel/pull/30303#issuecomment-6962496760
Thanks, both points are right. Fixed in bc35cb7bd:
1. The early lookup now uses the same sources and priority as
`autoConfigurationSingleOption` (JVM system properties over environment
variables over the properties component, key in any case, initial properties as
fallback), and it returns the value, so a `false` wins as well. I added your
test; it fails on 31f90f1f4 and passes now. `configureVirtualThreadsEarly` uses
the same lookup.
2. A value with a property placeholder is now ignored with a WARN that says
to use `true` or `false`, rather than silently doing nothing.
Also checked with a standalone app: `application.properties` true with
`CAMEL_MAIN_TYPECONVERTERSTATISTICSENABLED=false` gives statistics off and the
flag false; `{{stats}}` logs the WARN.
--
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]