use of org.apache.camel.component.gora.GoraComponent in project camel by apache.
the class GoraComponentAutoConfiguration method configureGoraComponent.
@Lazy
@Bean(name = "gora-component")
@ConditionalOnClass(CamelContext.class)
@ConditionalOnMissingBean(GoraComponent.class)
public GoraComponent configureGoraComponent(CamelContext camelContext) throws Exception {
GoraComponent component = new GoraComponent();
component.setCamelContext(camelContext);
return component;
}
Also used :
GoraComponent(org.apache.camel.component.gora.GoraComponent)
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)