apupier commented on code in PR #13626:
URL: https://github.com/apache/camel/pull/13626#discussion_r1540757839
##########
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 },
+ { "name": "camel.main.autowiredEnabled", "description": "Indicates if
autowiring is enabled. This flag is used to enable automatic autowiring options
(the option must be marked as autowired) by searching the registry for a single
instance of the matching type, which is then configured on the component. This
feature can be utilized for automatically configuring JDBC data sources, JMS
connection factories, AWS Clients, etc. The default setting is true .",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": true },
{ "name": "camel.main.basePackageScan", "description": "Package name to
use as base (offset) for classpath scanning of RouteBuilder ,
org.apache.camel.TypeConverter , CamelConfiguration classes, and also classes
annotated with org.apache.camel.Converter , or org.apache.camel.BindToRegistry
. If you are using Spring Boot then it is instead recommended to use Spring
Boots component scanning and annotate your route builder classes with
Component. In other words only use this for Camel Main in standalone mode.",
"sourceType": "org.apache.camel.main.MainConfigurationProperties", "type":
"string", "javaType": "java.lang.String" },
{ "name": "camel.main.basePackageScanEnabled", "description": "Whether
base package scan is enabled.", "sourceType":
"org.apache.camel.main.MainConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
{ "name": "camel.main.beanIntrospectionExtendedStatistics", "description":
"Sets whether bean introspection uses extended statistics. The default is
false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties",
"type": "boolean", "javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.beanIntrospectionLoggingLevel", "description": "Sets
the logging level used by bean introspection, logging activity of its usage.
The default is TRACE.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "object",
"javaType": "org.apache.camel.LoggingLevel", "enum": [ "ERROR", "WARN", "INFO",
"DEBUG", "TRACE", "OFF" ] },
- { "name": "camel.main.beanPostProcessorEnabled", "description": "Can be
used to turn off bean post processing. Be careful to turn this off, as this
means that beans that use Camel annotations such as
org.apache.camel.EndpointInject , org.apache.camel.ProducerTemplate ,
org.apache.camel.Produce , org.apache.camel.Consume etc will not be injected
and in use. Turning this off should only be done if you are sure you do not use
any of these Camel features. Not all runtimes allow turning this off (such as
camel-blueprint or camel-cdi with XML). The default value is true (enabled).",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": true },
- { "name": "camel.main.camelEventsTimestampEnabled", "description":
"Whether to include timestamps for all emitted Camel Events. Enabling this
allows to know fine-grained at what time each event was emitted, which can be
used for reporting to report exactly the time of the events. This is by default
false to avoid the overhead of including this information.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.caseInsensitiveHeaders", "description": "Whether to
use case sensitive or insensitive headers. Important: When using case sensitive
(this is set to false). Then the map is case sensitive which means headers such
as content-type and Content-Type are two different keys which can be a problem
for some protocols such as HTTP based, which rely on case insensitive headers.
However case sensitive implementations can yield faster performance. Therefore
use case sensitive implementation with care. Default is true.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
- { "name": "camel.main.compileWorkDir", "description": "Work directory for
compiler. Can be used to write compiled classes or other resources.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"string", "javaType": "java.lang.String" },
+ { "name": "camel.main.beanIntrospectionLoggingLevel", "description":
"Configures the logging level for bean introspection, logging its usage
activity. The default logging level is {link LoggingLevel#TRACE TRACE} .",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"object", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "ERROR",
"WARN", "INFO", "DEBUG", "TRACE", "OFF" ] },
+ { "name": "camel.main.beanPostProcessorEnabled", "description": "Enables
or disables bean post processing. Please exercise caution when disabling this
feature, as it will prevent beans that utilize Camel annotations such as {code
EndpointInject} , {code ProducerTemplate} , {code Produce} , {code Consume} ,
etc. from being injected and used. Disabling this feature should only be done
if you are certain that you are not using any of these Camel features. Keep in
mind that not all runtimes support disabling this feature (such as
camel-blueprint or camel-cdi with XML). The default setting is true
(enabled).", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
+ { "name": "camel.main.camelEventsTimestampEnabled", "description":
"Specifies whether timestamps should be included for all emitted Camel Events.
Enabling this option allows for fine-grained tracking of when each event was
emitted, which can be useful for accurate reporting of event timing. By
default, this option is set to false in order to avoid the overhead of
including this additional information.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.caseInsensitiveHeaders", "description": "Determines
whether to use case-sensitive or case-insensitive headers. Important: When
using case-insensitive headers (this is set to false), the map is
case-sensitive. This means that headers such as content-type and Content-Type
are considered two different keys, which can be problematic for protocols such
as HTTP that rely on case-insensitive headers. However, case-sensitive
implementations can result in faster performance. Therefore, use case-sensitive
implementations carefully. Defaults to true .", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
+ { "name": "camel.main.compileWorkDir", "description": "Compiler working
directory. Can be used to write compiled classes or other resources.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"string", "javaType": "java.lang.String" },
{ "name": "camel.main.configurationClasses", "description": "Sets classes
names that will be used to configure the camel context as example by providing
custom beans through org.apache.camel.BindToRegistry annotation.",
"sourceType": "org.apache.camel.main.MainConfigurationProperties", "type":
"string", "javaType": "java.lang.String" },
{ "name": "camel.main.configurations", "description": "Sets the
configuration objects used to configure the camel context.", "sourceType":
"org.apache.camel.main.MainConfigurationProperties", "type": "object",
"javaType": "java.util.List" },
- { "name": "camel.main.consumerTemplateCacheSize", "description": "Consumer
template endpoints cache size.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int", "defaultValue": 1000 },
- { "name": "camel.main.contextReloadEnabled", "description": "Used for
enabling context reloading. If enabled then Camel allow external systems such
as security vaults (AWS secrets manager, etc.) to trigger refreshing Camel by
updating property placeholders and reload all existing routes to take changes
into effect.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.consumerTemplateCacheSize", "description": "Consumer
template cache size.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int", "defaultValue": 1000 },
+ { "name": "camel.main.contextReloadEnabled", "description": "Used to
enable context reloading. If enabled, Camel allows external systems such as
security vaults (AWS Secret Manager, etc.) to trigger Camel refresh by updating
property placeholders and reloading all routes existing to take into account
the modifications.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
{ "name": "camel.main.description", "description": "Sets the description
(intended for humans) of the Camel application.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String" },
- { "name": "camel.main.devConsoleEnabled", "description": "Whether to
enable developer console (requires camel-console on classpath). The developer
console is only for assisting during development. This is NOT for production
usage.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties",
"type": "boolean", "javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.dumpRoutes", "description": "If dumping is enabled
then Camel will during startup dump all loaded routes (incl rests and route
templates) represented as XML\/YAML DSL into the log. This is intended for
trouble shooting or to assist during development. Sensitive information that
may be configured in the route endpoints could potentially be included in the
dump output and is therefore not recommended being used for production usage.
This requires to have camel-xml-io\/camel-yaml-io on the classpath to be able
to dump the routes as XML\/YAML.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String", "enum": [ "xml", "yaml" ] },
- { "name": "camel.main.dumpRoutesGeneratedIds", "description": "Whether to
include auto generated IDs in the dumped output. Default is false.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.dumpRoutesInclude", "description": "Controls what to
include in output for route dumping. Possible values: all, routes, rests,
routeConfigurations, routeTemplates, beans. Multiple values can be separated by
comma. Default is routes.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String", "defaultValue": "routes" },
- { "name": "camel.main.dumpRoutesLog", "description": "Whether to log route
dumps to Logger", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
- { "name": "camel.main.dumpRoutesOutput", "description": "Whether to save
route dumps to an output file. If the output is a filename, then all content is
saved to this file. If the output is a directory name, then one or more files
are saved to the directory, where the names are based on the original source
file names, or auto generated names.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String" },
- { "name": "camel.main.dumpRoutesResolvePlaceholders", "description":
"Whether to resolve property placeholders in the dumped output. Default is
true.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties",
"type": "boolean", "javaType": "boolean", "defaultValue": true },
- { "name": "camel.main.dumpRoutesUriAsParameters", "description": "When
dumping routes to YAML format, then this option controls whether endpoint URIs
should be expanded into a key\/value parameters.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.devConsoleEnabled", "description": "Whether to
enable the developer console (requires camel-console on the classpath). The
developer console is only to help you during development. This is NOT intended
for production use.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.dumpRoutes", "description": "Enables route dumping
during startup, which outputs all loaded routes (including RESTs and route
templates) as XML\/YAML DSL into the log. This feature is intended for
troubleshooting or development assistance. Sensitive information may be
included in the dump output, so it is not recommended for production use.
Requires camel-xml-io\/camel-yaml-io on the classpath to dump routes as
XML\/YAML.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String", "enum": [ "xml", "yaml" ] },
+ { "name": "camel.main.dumpRoutesGeneratedIds", "description": "Specifies
whether to include auto-generated IDs in the dumped output. Defaults to
false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties",
"type": "boolean", "javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.dumpRoutesInclude", "description": "Specifies what
to include in the output for route dumping. Possible values: all , routes ,
rests , routeConfigurations , routeTemplates , beans . Multiple values can be
separated by a comma. Default is routes .", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String", "defaultValue": "routes" },
+ { "name": "camel.main.dumpRoutesLog", "description": "Determines whether
route dumps should be logged to the Logger.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
+ { "name": "camel.main.dumpRoutesOutput", "description": "Determines
whether route dumps should be saved to an output file. If the output is a
filename, all content will be saved to this file. If the output is a directory
name, one or more files will be saved to the directory. The names of the files
are based on the original source file names or auto-generated names.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"string", "javaType": "java.lang.String" },
+ { "name": "camel.main.dumpRoutesResolvePlaceholders", "description":
"Specifies whether property placeholders in the dumped output should be
resolved. Default is true.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
+ { "name": "camel.main.dumpRoutesUriAsParameters", "description":
"Determines whether endpoint URIs should be expanded into key\/value parameters
when dumping routes to YAML format.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
{ "name": "camel.main.durationHitExitCode", "description": "Sets the exit
code for the application if duration was hit", "sourceType":
"org.apache.camel.main.MainConfigurationProperties", "type": "integer",
"javaType": "int" },
- { "name": "camel.main.durationMaxAction", "description": "Controls whether
the Camel application should shutdown the JVM, or stop all routes, when
duration max is triggered.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String", "defaultValue": "shutdown", "enum": [
"shutdown", "stop" ] },
- { "name": "camel.main.durationMaxIdleSeconds", "description": "To specify
for how long time in seconds Camel can be idle before automatic terminating the
JVM. You can use this to run Camel for a short while.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int" },
- { "name": "camel.main.durationMaxMessages", "description": "To specify how
many messages to process by Camel before automatic terminating the JVM. You can
use this to run Camel for a short while.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int" },
- { "name": "camel.main.durationMaxSeconds", "description": "To specify for
how long time in seconds to keep running the JVM before automatic terminating
the JVM. You can use this to run Camel for a short while.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int" },
- { "name": "camel.main.endpointBridgeErrorHandler", "description": "Allows
for bridging the consumer to the Camel routing Error Handler, which mean any
exceptions occurred while the consumer is trying to pickup incoming messages,
or the likes, will now be processed as a message and handled by the routing
Error Handler. By default the consumer will use the
org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be
logged at WARN\/ERROR level and ignored. The default value is false.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.endpointLazyStartProducer", "description": "Whether
the producer should be started lazy (on the first message). By starting lazy
you can use this to allow CamelContext and routes to startup in situations
where a producer may otherwise fail during starting and cause the route to fail
being started. By deferring this startup to be lazy then the startup failure
can be handled during routing messages via Camel's routing error handlers.
Beware that when the first message is processed then creating and starting the
producer may take a little time and prolong the total processing time of the
processing. The default value is false.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.endpointRuntimeStatisticsEnabled", "description":
"Sets whether endpoint runtime statistics is enabled (gathers runtime usage of
each incoming and outgoing endpoints). The default value is false.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.exchangeFactory", "description": "Controls whether
to pool (reuse) exchanges or create new exchanges (prototype). Using pooled
will reduce JVM garbage collection overhead by avoiding to re-create Exchange
instances per message each consumer receives. The default is prototype mode.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"string", "javaType": "java.lang.String", "defaultValue": "default", "enum": [
"default", "prototype", "pooled" ] },
- { "name": "camel.main.exchangeFactoryCapacity", "description": "The
capacity the pool (for each consumer) uses for storing exchanges. The default
capacity is 100.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int", "defaultValue": 100 },
- { "name": "camel.main.exchangeFactoryStatisticsEnabled", "description":
"Configures whether statistics is enabled on exchange factory.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.durationMaxAction", "description": "Controls whether
the Camel application should shut down the JVM or stop all routes when the
maximum duration is triggered.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String", "defaultValue": "shutdown", "enum": [
"shutdown", "stop" ] },
+ { "name": "camel.main.durationMaxIdleSeconds", "description": "Specifies
how long in seconds Camel can remain idle before automatically terminating the
JVM. You can use it to run Camel for a short time.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int" },
+ { "name": "camel.main.durationMaxMessages", "description": "Specifies the
number of messages to be processed by Camel before the JVM automatically
terminates. You can use it to run Camel for a short time.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int" },
+ { "name": "camel.main.durationMaxSeconds", "description": "Specifies how
long in seconds to continue running the JVM before automatic terminating the
JVM. You can use it to run Camel for a short time.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int" },
+ { "name": "camel.main.endpointBridgeErrorHandler", "description": "Allows
for bridging the consumer to the Camel routing Error Handler, which means any
exceptions occurring while the consumer is trying to pick up incoming messages,
or similar actions, will now be processed as a message and handled by the
routing Error Handler. By default, the consumer will use the
org.apache.camel.spi.ExceptionHandler to deal with exceptions, which will be
logged at the WARN\/ERROR level and ignored. The default value is false .",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.endpointLazyStartProducer", "description": "Whether
the producer should be started lazily (on the first message). Starting lazily
allows you to use this option to enable the CamelContext and routes to start in
situations where a producer may fail during startup, causing the route to fail
to start. By deferring this startup to be lazy, any startup failures can be
handled during message routing using Camel's routing error handlers. Keep in
mind that the creation and startup of the producer may take some time when the
first message is processed, potentially prolonging the overall processing time.
The default value is false .", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.endpointRuntimeStatisticsEnabled", "description":
"Sets whether endpoint runtime statistics are enabled (which gather runtime
usage data for each incoming and outgoing endpoint). The default value is false
.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties",
"type": "boolean", "javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.exchangeFactory", "description": "Controls whether
to pool ( reuse ) exchanges or create new exchanges ( prototype ). Using pooled
will reduce JVM garbage collection overhead by avoiding recreating Exchange
instances per message received by each consumer. The default is prototype
mode.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties",
"type": "string", "javaType": "java.lang.String", "defaultValue": "default",
"enum": [ "default", "prototype", "pooled" ] },
+ { "name": "camel.main.exchangeFactoryCapacity", "description": "Sets the
capacity of the pool used by each consumer for storing exchanges. The default
capacity is 100.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int", "defaultValue": 100 },
+ { "name": "camel.main.exchangeFactoryStatisticsEnabled", "description":
"Configures whether statistics are enabled on the exchange factory.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": "false" },
{ "name": "camel.main.extraShutdownTimeout", "description": "Extra timeout
in seconds to graceful shutdown Camel. When Camel is shutting down then Camel
first shutdown all the routes (shutdownTimeout). Then additional services is
shutdown (extraShutdownTimeout).", "sourceType":
"org.apache.camel.main.MainConfigurationProperties", "type": "integer",
"javaType": "int", "defaultValue": 15 },
- { "name": "camel.main.fileConfigurations", "description": "Directory to
load additional configuration files that contains configuration values that
takes precedence over any other configuration. This can be used to refer to
files that may have secret configuration that has been mounted on the file
system for containers. You can specify a pattern to load from sub directories
and a name pattern such as \/var\/app\/secret\/.properties, multiple
directories can be separated by comma.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String" },
- { "name": "camel.main.globalOptions", "description": "Sets global options
that can be referenced in the camel context Important: This has nothing to do
with property placeholders, and is just a plain set of key\/value pairs which
are used to configure global options on CamelContext, such as a maximum debug
logging length etc.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "object",
"javaType": "java.util.Map" },
- { "name": "camel.main.inflightRepositoryBrowseEnabled", "description":
"Sets whether the inflight repository should allow browsing each inflight
exchange. This is by default disabled as there is a very slight performance
overhead when enabled.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.javaRoutesExcludePattern", "description": "Used for
exclusive filtering RouteBuilder classes which are collected from the registry
or via classpath scanning. The exclusive filtering takes precedence over
inclusive filtering. The pattern is using Ant-path style pattern. Multiple
patterns can be specified separated by comma. For example to exclude all
classes starting with Bar use: **\/Bar* To exclude all routes form
a specific package use: com\/mycompany\/bar\/* To exclude all routes form a
specific package and its sub-packages use double wildcards:
com\/mycompany\/bar\/** And to exclude all routes from two specific
packages use: com\/mycompany\/bar\/*,com\/mycompany\/stuff\/*",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"string", "javaType": "java.lang.String" },
- { "name": "camel.main.javaRoutesIncludePattern", "description": "Used for
inclusive filtering RouteBuilder classes which are collected from the registry
or via classpath scanning. The exclusive filtering takes precedence over
inclusive filtering. The pattern is using Ant-path style pattern. Multiple
patterns can be specified separated by comma. Multiple patterns can be
specified separated by comma. For example to include all classes starting with
Foo use: **\/Foo To include all routes form a specific package use:
com\/mycompany\/foo\/* To include all routes form a specific package and
its sub-packages use double wildcards: com\/mycompany\/foo\/** And to
include all routes from two specific packages use:
com\/mycompany\/foo\/*,com\/mycompany\/stuff\/*", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String" },
- { "name": "camel.main.jmxEnabled", "description": "Enable JMX in your
Camel application.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
- { "name": "camel.main.jmxManagementMBeansLevel", "description": "Sets the
mbeans registration level. The default value is Default.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "object",
"javaType": "org.apache.camel.ManagementMBeansLevel", "defaultValue": "Default"
},
- { "name": "camel.main.jmxManagementNamePattern", "description": "The
naming pattern for creating the CamelContext JMX management name. The default
pattern is #name#", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String", "defaultValue": "#name#" },
- { "name": "camel.main.jmxManagementRegisterRoutesCreateByKamelet",
"description": "Whether routes created by Kamelets should be registered for JMX
management. Enabling this allows to have fine-grained monitoring and management
of every route created via Kamelets. This is default disabled as a Kamelet is
intended as a component (black-box) and its implementation details as Camel
route makes the overall management and monitoring of Camel applications more
verbose. During development of Kamelets then enabling this will make it
possible for developers to do fine-grained performance inspection and identify
potential bottlenecks in the Kamelet routes. However, for production usage then
keeping this disabled is recommended.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.jmxManagementRegisterRoutesCreateByTemplate",
"description": "Whether routes created by route templates (not Kamelets) should
be registered for JMX management. Enabling this allows to have fine-grained
monitoring and management of every route created via route templates. This is
default enabled (unlike Kamelets) as routes created via templates is regarded
as standard routes, and should be available for management and monitoring.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": true },
- { "name": "camel.main.jmxManagementStatisticsLevel", "description": "Sets
the JMX statistics level, the level can be set to Extended to gather additional
information The default value is Default.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "object",
"javaType": "org.apache.camel.ManagementStatisticsLevel", "defaultValue":
"Default", "enum": [ "Extended", "Default", "RoutesOnly", "Off" ] },
- { "name": "camel.main.jmxUpdateRouteEnabled", "description": "Whether to
allow updating routes at runtime via JMX using the ManagedRouteMBean. This is
disabled by default, but can be enabled for development and troubleshooting
purposes, such as updating routes in an existing running Camel via JMX and
other tools.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.lightweight", "description": "Configure the context
to be lightweight. This will trigger some optimizations and memory reduction
options. Lightweight context have some limitations. At this moment, dynamic
endpoint destinations are not supported.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.loadHealthChecks", "description": "Whether to load
custom health checks by scanning classpath.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.loadStatisticsEnabled", "description": "Sets whether
context load statistics is enabled (something like the unix load average). The
statistics requires to have camel-management on the classpath as JMX is
required. The default value is false.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.loadTypeConverters", "description": "Whether to load
custom type converters by scanning classpath. This is used for backwards
compatibility with Camel 2.x. Its recommended to migrate to use fast type
converter loading by setting Converter(loader = true) on your custom type
converter classes.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.logDebugMaxChars", "description": "Is used to limit
the maximum length of the logging Camel message bodies. If the message body is
longer than the limit, the log message is clipped. Use -1 to have unlimited
length. Use for example 1000 to log at most 1000 characters.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer",
"javaType": "int" },
- { "name": "camel.main.logExhaustedMessageBody", "description": "Sets
whether to log exhausted message body with message history. Default is false.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"boolean", "javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.logMask", "description": "Sets whether log mask is
enabled or not. Default is false.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
- { "name": "camel.main.mdcLoggingKeysPattern", "description": "Sets the
pattern used for determine which custom MDC keys to propagate during message
routing when the routing engine continues routing asynchronously for the given
message. Setting this pattern to will propagate all custom keys. Or setting the
pattern to foo,bar will propagate any keys starting with either foo or bar.
Notice that a set of standard Camel MDC keys are always propagated which starts
with camel. as key name. The match rules are applied in this order (case
insensitive): 1. exact match, returns true 2. wildcard match (pattern ends with
a and the name starts with the pattern), returns true 3. regular expression
match, returns true 4. otherwise returns false", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String" },
+ { "name": "camel.main.fileConfigurations", "description": "Directory for
loading additional configuration files containing configuration values that
take precedence over any other configuration. This can be used to refer to
files that may have secret configuration mounted on the file system for
containers. You can specify a pattern to load from subdirectories and a name
pattern such as \/var\/app\/secret\/.properties, multiple directories can be
separated by a comma.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String" },
+ { "name": "camel.main.globalOptions", "description": "Sets global options
that can be referenced in the Camel context. Important: This is unrelated to
property placeholders and consists of key\/value pairs used to configure global
options on CamelContext, such as maximum debug logging length, etc.",
"sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type":
"object", "javaType": "java.util.Map" },
+ { "name": "camel.main.inflightRepositoryBrowseEnabled", "description":
"Defines whether the in-flight repository should allow navigation in each
in-flight exchange. This is disabled by default because there is a very slight
performance overhead when enabled.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": "false" },
+ { "name": "camel.main.javaRoutesExcludePattern", "description": "Used for
exclusive filtering of RouteBuilder classes which are collected from the
registry or via classpath scanning. The exclusive filtering takes precedence
over inclusive filtering. The pattern is using Ant-path style pattern and
multiple patterns can be specified separated by comma. For instance, to exclude
all classes starting with Foo , use {code **\/Foo} . To exclude all
routes form a specific package use {code com\/mycompany\/foo\/*} . To
exclude all routes form a specific package and its sub-packages use {code
com\/mycompany\/foo\/**} with double wildcards. And to exclude all
routes from two specific packages use {code
com\/mycompany\/foo\/*,com\/mycompany\/stuff\/*} .", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String" },
+ { "name": "camel.main.javaRoutesIncludePattern", "description": "Used for
inclusive filtering of RouteBuilder classes which are collected from the
registry or via classpath scanning. The exclusive filtering takes precedence
over inclusive filtering. The pattern is using Ant-path style pattern and
multiple patterns can be specified separated by comma. For instance, to include
all classes starting with Foo , use {code **\/Foo} . To include all
routes form a specific package use: {code com\/mycompany\/foo\/*} . To
include all routes form a specific package and its sub-packages use double
wildcards: {code com\/mycompany\/foo\/**} . And to include all routes
from two specific packages use: {code
com\/mycompany\/foo\/*,com\/mycompany\/stuff\/*} .", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "string",
"javaType": "java.lang.String" },
+ { "name": "camel.main.jmxEnabled", "description": "Enables JMX in your
Camel application.", "sourceType":
"org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean",
"javaType": "boolean", "defaultValue": true },
+ { "name": "camel.main.jmxManagementMBeansLevel", "description": "Sets the
mbeans registration level. The default value is ManagementMBeansLevel#Default
.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties",
"type": "object", "javaType": "org.apache.camel.ManagementMBeansLevel",
"defaultValue": "Default" },
Review Comment:
`ManagementMBeansLevel#Default `
I think the full name should be provided or none
--
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]