Package org.apache.camel.main
Class DefaultConfigurationConfigurer
- java.lang.Object
-
- org.apache.camel.main.DefaultConfigurationConfigurer
-
public final class DefaultConfigurationConfigurer extends Object
To configure theDefaultConfigurationPropertiesonCamelContextused by Camel Main, Camel Spring Boot and other runtimes.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOG
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidafterConfigure(org.apache.camel.CamelContext camelContext)Performs additional configuration to lookup beans of Camel types to configure additional configurations on the Camel context.static voidafterPropertiesSet(org.apache.camel.CamelContext camelContext)static voidconfigure(org.apache.camel.CamelContext camelContext, DefaultConfigurationProperties<?> config)Configures theCamelContextwith the configuration.
-
-
-
Method Detail
-
configure
public static void configure(org.apache.camel.CamelContext camelContext, DefaultConfigurationProperties<?> config) throws ExceptionConfigures theCamelContextwith the configuration.- Parameters:
camelContext- the camel contextconfig- the configuration- Throws:
Exception
-
afterConfigure
public static void afterConfigure(org.apache.camel.CamelContext camelContext) throws ExceptionPerforms 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
-
-