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