@Configuration @EnableConfigurationProperties(value=EventComponentConfiguration.class) @Conditional(value=EventComponentAutoConfiguration.Condition.class) public class EventComponentAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EventComponentAutoConfiguration.Condition |
Constructor and Description |
---|
EventComponentAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.component.event.EventComponent |
configureEventComponent(org.apache.camel.CamelContext camelContext,
EventComponentConfiguration configuration) |
@Lazy @Bean(name="spring-event-component") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.component.event.EventComponent.class) public org.apache.camel.component.event.EventComponent configureEventComponent(org.apache.camel.CamelContext camelContext, EventComponentConfiguration configuration) throws Exception
Exception
Apache Camel