use of org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean in project camel by apache.
the class CwComponentAutoConfiguration method configureCwComponent.
@Lazy
@Bean(name = "aws-cw-component")
@ConditionalOnClass(CamelContext.class)
@ConditionalOnMissingBean(CwComponent.class)
public CwComponent configureCwComponent(CamelContext camelContext) throws Exception {
CwComponent component = new CwComponent();
component.setCamelContext(camelContext);
return component;
}
use of org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean in project camel by apache.
the class DdbComponentAutoConfiguration method configureDdbComponent.
@Lazy
@Bean(name = "aws-ddb-component")
@ConditionalOnClass(CamelContext.class)
@ConditionalOnMissingBean(DdbComponent.class)
public DdbComponent configureDdbComponent(CamelContext camelContext) throws Exception {
DdbComponent component = new DdbComponent();
component.setCamelContext(camelContext);
return component;
}
use of org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean in project camel by apache.
the class DdbStreamComponentAutoConfiguration method configureDdbStreamComponent.
@Lazy
@Bean(name = "aws-ddbstream-component")
@ConditionalOnClass(CamelContext.class)
@ConditionalOnMissingBean(DdbStreamComponent.class)
public DdbStreamComponent configureDdbStreamComponent(CamelContext camelContext) throws Exception {
DdbStreamComponent component = new DdbStreamComponent();
component.setCamelContext(camelContext);
return component;
}
use of org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean in project camel by apache.
the class EC2ComponentAutoConfiguration method configureEC2Component.
@Lazy
@Bean(name = "aws-ec2-component")
@ConditionalOnClass(CamelContext.class)
@ConditionalOnMissingBean(EC2Component.class)
public EC2Component configureEC2Component(CamelContext camelContext) throws Exception {
EC2Component component = new EC2Component();
component.setCamelContext(camelContext);
return component;
}
use of org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean in project camel by apache.
the class KinesisFirehoseComponentAutoConfiguration method configureKinesisFirehoseComponent.
@Lazy
@Bean(name = "aws-kinesis-firehose-component")
@ConditionalOnClass(CamelContext.class)
@ConditionalOnMissingBean(KinesisFirehoseComponent.class)
public KinesisFirehoseComponent configureKinesisFirehoseComponent(CamelContext camelContext) throws Exception {
KinesisFirehoseComponent component = new KinesisFirehoseComponent();
component.setCamelContext(camelContext);
return component;
}
Aggregations