The default is TRACE.Ĭan be used to turn off bean post processing. Sets the logging level used by bean introspection, logging activity of its usage. Sets whether bean introspection uses extended statistics. In other words only use this for Camel Main in standalone mode.ĬExtendedStatistics 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. Package name to use as base (offset) for classpath scanning of RouteBuilder, and classes. Sets whether backlog tracing is enabled or not. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. 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. You would need to start CamelContext explicit using the .start() method, to start the context, and then you would need to start the routes manually using CamelContext.getRouteController().startRoute(String). Note: When setting auto startup false on CamelContext then that takes precedence and no routes are started. Important: Currently only routes can be disabled, as CamelContext’s are always started. Sets whether the object should automatically start when Camel starts. Note that JVM system properties take precedence over OS environment variables. For example to set a shutdown timeout of 5 seconds: -D -timeout=5. When enabled this allows to overrule any configuration using a JVM system property. Whether auto configuration should include JVM system properties as well. This option is default enabled.ĬSystemPropertiesEnabled Whether auto configuration should log a summary with the configured properties. Whether auto configuration should fail fast when configuring one ore more properties fails for whatever reason such as a invalid property name, etc. For example to set a shutdown timeout of 5 seconds: CAMEL_MAIN_SHUTDOWNTIMEOUT=5. When enabled this allows to overrule any configuration using an OS environment variable. Whether auto configuration should include OS environment variables as well. This option is default enabled.ĬEnvironmentVariablesEnabled 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 .Registry#bind(String,Object) method or by using the annotation style. You can prefix the parameters in the properties file with: - 1=value1 - 2=value2 - 1=value1 - 2=value2 - 1=value1 - 2=value2 Where name is the name of the component, dataformat or language such as seda,direct,jaxb. When enabled the configuration parameters are loaded from the properties component. Whether auto configuration of components, dataformats, languages is enabled or not. Turning this off can optimize performance, as defensive copy of the original message is not needed. Sets whether to allow access to the original message from Camel’s error handler, or from .UnitOfWork.getOriginalInMessage().