@Configuration @EnableConfigurationProperties(value=ServletComponentConfiguration.class) @Conditional(value=ServletComponentAutoConfiguration.Condition.class) public class ServletComponentAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServletComponentAutoConfiguration.Condition |
Constructor and Description |
---|
ServletComponentAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.component.servlet.ServletComponent |
configureServletComponent(org.apache.camel.CamelContext camelContext,
ServletComponentConfiguration configuration) |
@Lazy @Bean(name="servlet-component") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.component.servlet.ServletComponent.class) public org.apache.camel.component.servlet.ServletComponent configureServletComponent(org.apache.camel.CamelContext camelContext, ServletComponentConfiguration configuration) throws Exception
Exception
Apache Camel