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