@Configuration @EnableConfigurationProperties(value=OgnlLanguageConfiguration.class) @Conditional(value=OgnlLanguageAutoConfiguration.Condition.class) public class OgnlLanguageAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OgnlLanguageAutoConfiguration.Condition |
Constructor and Description |
---|
OgnlLanguageAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.language.ognl.OgnlLanguage |
configureOgnlLanguage(org.apache.camel.CamelContext camelContext,
OgnlLanguageConfiguration configuration) |
@Bean(name="ognl-language") @Scope(value="prototype") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.language.ognl.OgnlLanguage.class) public org.apache.camel.language.ognl.OgnlLanguage configureOgnlLanguage(org.apache.camel.CamelContext camelContext, OgnlLanguageConfiguration configuration) throws Exception
Exception
Apache Camel