use of org.apache.camel.component.drill.DrillComponent in project camel by apache.
the class DrillComponentAutoConfiguration method configureDrillComponent.
@Lazy
@Bean(name = "drill-component")
@ConditionalOnClass(CamelContext.class)
@ConditionalOnMissingBean(DrillComponent.class)
public DrillComponent configureDrillComponent(CamelContext camelContext) throws Exception {
DrillComponent component = new DrillComponent();
component.setCamelContext(camelContext);
return component;
}
Also used :
DrillComponent(org.apache.camel.component.drill.DrillComponent)
Lazy(org.springframework.context.annotation.Lazy)
ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)
ConditionalOnClass(org.springframework.boot.autoconfigure.condition.ConditionalOnClass)
ConditionalOnBean(org.springframework.boot.autoconfigure.condition.ConditionalOnBean)
ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)
Bean(org.springframework.context.annotation.Bean)