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