[
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:47 PM:
---------------------------------------------------------------
{code}
PropertiesComponent added custom PropertiesSource (factory): camel-dsl-modeline
Auto-configuration summary
[camel-main]
camel.component.properties.location=file:myapp.properties,
[camel-main]
camel.main.routes-include-pattern=file:chuck-out.yaml
[JVM System Property] camel.main.name=Killroy
[chuck-out.yaml] camel.main.shutdownTimeout=444
[camel-main] camel.main.routesReloadEnabled=false
[camel-main] camel.main.sourceLocationEnabled=true
[chuck-out.yaml] camel.main.tracing=false
[camel-main] camel.main.modeline=true
[camel-main]
camel.main.routesIncludePattern=file:chuck-out.yaml
[OS Environment Variable] camel.main.logmask=true
[myapp.properties] camel.dev-console.event.capacity=20
[camel-main]
camel.component.kamelet.location=classpath:/kamelets,github:apache:camel-kamelets/kamelets
[camel-main]
camel.component.rest.consumerComponentName=platform-http
[camel-main]
camel.component.rest.producerComponentName=vertx-http
[myapp.properties]
camel.component.log.sourceLocationLoggerName=true
{code}
was (Author: davsclaus):
{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}
> 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)