davsclaus opened a new issue #1078: Camel JMX is logged as enabled for native compiled example URL: https://github.com/apache/camel-quarkus/issues/1078 As JMX is not possible in native compiled, then we should not have Camel log as if JMX was enabled. ``` ❯ target/camel-quarkus-examples-timer-log-cdi-1.1.0-SNAPSHOT-runner __ ____ __ _____ ___ __ ____ ______ --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ 2020-04-13 11:50:47,892 INFO [org.apa.cam.mai.BaseMainSupport] (main) Auto-configuration summary: 2020-04-13 11:50:47,892 INFO [org.apa.cam.mai.BaseMainSupport] (main) camel.context.name=quarkus-camel-example-timer-log-cdi 2020-04-13 11:50:47,893 INFO [org.apa.cam.imp.eng.DefaultManagementStrategy] (main) JMX is enabled 2020-04-13 11:50:47,894 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.2.0 (CamelContext: quarkus-camel-example-timer-log-cdi) is starting 2020-04-13 11:50:47,894 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html 2020-04-13 11:50:47,895 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Route: route1 started and consuming from: timer://foo 2020-04-13 11:50:47,895 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Total 1 routes, of which 1 are started 2020-04-13 11:50:47,895 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.2.0 (CamelContext: quarkus-camel-example-timer-log-cdi) started in 0.001 seconds 2020-04-13 11:50:47,895 INFO [io.quarkus] (main) camel-quarkus-examples-timer-log-cdi 1.1.0-SNAPSHOT (powered by Quarkus 1.3.2.Final) started in 0.018s. 2020-04-13 11:50:47,895 INFO [io.quarkus] (main) Profile prod activated. 2020-04-13 11:50:47,895 INFO [io.quarkus] (main) Installed features: [camel-core, camel-log, camel-support-common, camel-timer, cdi] 2020-04-13 11:50:48,895 INFO [example] (Camel (quarkus-camel-example-timer-log-cdi) thread #0 - timer://foo) Exchange[Body: Incremented the counter: 1] ``` This is from the timer-cdi example after native compilation and running. Notice how it logs ``` 2020-04-13 11:50:47,893 INFO [org.apa.cam.imp.eng.DefaultManagementStrategy] (main) JMX is enabled ```
---------------------------------------------------------------- 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 With regards, Apache Git Services