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