Package org.apache.camel.main
Class DefaultConfigurationConfigurer
java.lang.Object
org.apache.camel.main.DefaultConfigurationConfigurer
To configure the
DefaultConfigurationProperties
on CamelContext
used by Camel Main,
Camel Spring Boot and other runtimes.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
afterConfigure
(org.apache.camel.CamelContext camelContext) Performs additional configuration to lookup beans of Camel types to configure additional configurations on the Camel context.static void
afterPropertiesSet
(org.apache.camel.CamelContext camelContext) static void
configure
(org.apache.camel.CamelContext camelContext, DefaultConfigurationProperties<?> config) Configures theCamelContext
with the configuration.protected static void
configureVault
(org.apache.camel.CamelContext camelContext) Configures security vaults such as AWS, Azure, Google and Hashicorp.
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Method Details
-
configure
public static void configure(org.apache.camel.CamelContext camelContext, DefaultConfigurationProperties<?> config) throws Exception Configures theCamelContext
with the configuration.- Parameters:
camelContext
- the camel contextconfig
- the configuration- Throws:
Exception
-
afterConfigure
Performs additional configuration to lookup beans of Camel types to configure additional configurations on the Camel context. Similar code in camel-core-xml module in class org.apache.camel.core.xml.AbstractCamelContextFactoryBean.- Throws:
Exception
-
configureVault
Configures security vaults such as AWS, Azure, Google and Hashicorp.- Throws:
Exception
-
afterPropertiesSet
- Throws:
Exception
-