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