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