You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/21 16:19:00 UTC
[jira] [Comment Edited] (CAMEL-17831) camel-main - Auto configuration summary (show from where the option was taken)
[ https://issues.apache.org/jira/browse/CAMEL-17831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509964#comment-17509964 ]
Claus Ibsen edited comment on CAMEL-17831 at 3/21/22, 4:18 PM:
---------------------------------------------------------------
{code}
Apache Camel (JBang) 3.16.0-SNAPSHOT is starting
PropertiesComponent added custom PropertiesSource (factory): camel-dsl-modeline
Auto-configuration summary
[initial] camel.component.properties.location=file:myapp.properties,
[initial] camel.main.routes-include-pattern=file:chuck-out.yaml
[SYS] camel.main.name=Killroy
[chuck-out.yaml] camel.main.shutdownTimeout=123
[initial] camel.main.routesReloadEnabled=false
[initial] camel.main.sourceLocationEnabled=true
[chuck-out.yaml] camel.main.tracing=true
[initial] camel.main.modeline=true
[initial] camel.main.routesIncludePattern=file:chuck-out.yaml
[ENV] camel.main.logmask=true
[myapp.properties] camel.dev-console.event.capacity=10
[initial] camel.component.kamelet.location=classpath:/kamelets,github:apache:camel-kamelets/kamele
[initial] camel.component.rest.consumerComponentName=platform-http
[initial] camel.component.rest.producerComponentName=vertx-http
[myapp.properties] camel.component.log.sourceLocationLoggerName=true
JMX is enabled
{code}
was (Author: davsclaus):
Prototype can now show
{code}
2022-03-21 16:51:51.847 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : Auto-configuration summary
2022-03-21 16:51:51.849 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (initial) camel.main.routes-include-pattern=file:chuck-out.yaml
2022-03-21 16:51:51.849 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (SYS) camel.main.name=Killroy
2022-03-21 16:51:51.849 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (chuck-out.yaml) camel.main.shutdownTimeout=123
2022-03-21 16:51:51.850 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (initial) camel.main.routesReloadEnabled=false
2022-03-21 16:51:51.850 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (initial) camel.main.sourceLocationEnabled=true
2022-03-21 16:51:51.850 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (chuck-out.yaml) camel.main.tracing=true
2022-03-21 16:51:51.850 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (initial) camel.main.modeline=true
2022-03-21 16:51:51.850 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (initial) camel.main.routesIncludePattern=file:chuck-out.yaml
2022-03-21 16:51:51.850 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (ENV) camel.main.logmask=true
2022-03-21 16:51:51.861 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (initial) camel.component.kamelet.location=classpath:/kamelets,github:apache:camel-kamelets/kamelets
2022-03-21 16:51:51.862 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (initial) camel.component.rest.consumerComponentName=platform-http
2022-03-21 16:51:51.862 INFO 75700 --- [ main] org.apache.camel.main.BaseMainSupport : (initial) camel.component.rest.producerComponentName=vertx-http
{code}
> camel-main - Auto configuration summary (show from where the option was taken)
> ------------------------------------------------------------------------------
>
> Key: CAMEL-17831
> URL: https://issues.apache.org/jira/browse/CAMEL-17831
> Project: Camel
> Issue Type: New Feature
> Components: camel-main
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.17.0
>
>
> When using camel-main based apps, it may be good if we can know from where a given option configuration comes from
> - properties file
> - ENV variable
> - JVM system property
> - camel-k modeline
> - camel-k spec/configuration spec/trait
> - etc
> When using sprint boot or quarkus then we may not know all of this but can say
> - spring boot
> - quarkus
--
This message was sent by Atlassian Jira
(v8.20.1#820001)