apupier commented on code in PR #13626:
URL: https://github.com/apache/camel/pull/13626#discussion_r1540744219
##########
core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json:
##########
@@ -19,123 +19,123 @@
{ "name": "camel.lra", "description": "Camel Saga EIP (Long Running
Actions) configurations", "sourceType":
"org.apache.camel.main.LraConfigurationProperties" }
],
"properties": [
- { "name": "camel.main.allowUseOriginalMessage", "description": "Sets
whether to allow access to the original message from Camel's error handler, or
from org.apache.camel.spi.UnitOfWork.getOriginalInMessage(). Turning this off
can optimize performance, as defensive copy of the original message is not
needed. Default is false.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.allowUseOriginalMessage", "description": "Determines
if access to the original message from Camel's error handler is allowed, or if
it should be accessed from
org.apache.camel.spi.UnitOfWork.getOriginalInMessage() . Disabling this feature
can improve performance by eliminating the need for a defensive copy of the
original message. Defaults to false .", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
{ "name": "camel.main.autoConfigurationEnabled", "description": "Whether
auto configuration of components, dataformats, languages is enabled or not.
When enabled the configuration parameters are loaded from the properties
component. You can prefix the parameters in the properties file with: -
camel.component.name.option1=value1 - camel.component.name.option2=value2 -
camel.dataformat.name.option1=value1 - camel.dataformat.name.option2=value2 -
camel.language.name.option1=value1 - camel.language.name.option2=value2 Where
name is the name of the component, dataformat or language such as
seda,direct,jaxb. The auto configuration also works for any options on
components that is a complex type (not standard Java type) and there has been
an explicit single bean instance registered to the Camel registry via the
org.apache.camel.spi.Registry#bind(String,Object) method or by using the
org.apache.camel.BindToRegistry annotation style. This option is default
enabled.", "sourceType": "org.ap
ache.camel.main.MainConfigurationProperties", "type": "boolean", "javaType":
"boolean", "defaultValue": true },
{ "name": "camel.main.autoConfigurationEnvironmentVariablesEnabled",
"description": "Whether auto configuration should include OS environment
variables as well. When enabled this allows to overrule any configuration using
an OS environment variable. For example to set a shutdown timeout of 5 seconds:
CAMEL_MAIN_SHUTDOWNTIMEOUT=5. This option is default enabled.", "sourceType":
"org.apache.camel.main.MainConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
{ "name": "camel.main.autoConfigurationFailFast", "description": "Whether
auto configuration should fail fast when configuring one ore more properties
fails for whatever reason such as a invalid property name, etc. This option is
default enabled.", "sourceType":
"org.apache.camel.main.MainConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
{ "name": "camel.main.autoConfigurationLogSummary", "description":
"Whether auto configuration should log a summary with the configured
properties. This option is default enabled.", "sourceType":
"org.apache.camel.main.MainConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
{ "name": "camel.main.autoConfigurationSystemPropertiesEnabled",
"description": "Whether auto configuration should include JVM system properties
as well. When enabled this allows to overrule any configuration using a JVM
system property. For example to set a shutdown timeout of 5 seconds: -D
camel.main.shutdown-timeout=5. Note that JVM system properties take precedence
over OS environment variables. This option is default enabled.", "sourceType":
"org.apache.camel.main.MainConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
- { "name": "camel.main.autoStartup", "description": "Sets whether the
object should automatically start when Camel starts. Important: Currently only
routes can be disabled, as CamelContext's are always started. Note: When
setting auto startup false on CamelContext then that takes precedence and no
routes are started. You would need to start CamelContext explicit using the
org.apache.camel.CamelContext.start() method, to start the context, and then
you would need to start the routes manually using
CamelContext.getRouteController().startRoute(String). Default is true to always
start up.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
- { "name": "camel.main.autowiredEnabled", "description": "Whether
autowiring is enabled. This is used for automatic autowiring options (the
option must be marked as autowired) by looking up in the registry to find if
there is a single instance of matching type, which then gets configured on the
component. This can be used for automatic configuring JDBC data sources, JMS
connection factories, AWS Clients, etc. Default is true.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
+ { "name": "camel.main.autoStartup", "description": "Specifies if the
object should start automatically when Camel is initiated. It is important to
note that only routes can be disabled at the moment, as CamelContexts are
always started. If auto startup is set to false on CamelContext, it will take
precedence and no routes will be started. In this case, CamelContext must be
started explicitly using the org.apache.camel.CamelContext.start() method,
followed by manual starting of routes using
CamelContext.getRouteController().startRoute(String) . By default, the object
will start up automatically.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
Review Comment:
`By default, the object will start up automatically.`
What is the object?
--
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]