Search in sources :

Example 1 with BlobServiceComponent

use of org.apache.camel.component.azure.blob.BlobServiceComponent in project camel by apache.

the class BlobServiceComponentAutoConfiguration method configureBlobServiceComponent.

@Lazy
@Bean(name = "azure-blob-component")
@ConditionalOnClass(CamelContext.class)
@ConditionalOnMissingBean(BlobServiceComponent.class)
public BlobServiceComponent configureBlobServiceComponent(CamelContext camelContext) throws Exception {
    BlobServiceComponent component = new BlobServiceComponent();
    component.setCamelContext(camelContext);
    return component;
}
Also used : BlobServiceComponent(org.apache.camel.component.azure.blob.BlobServiceComponent) 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)

Aggregations

BlobServiceComponent (org.apache.camel.component.azure.blob.BlobServiceComponent)1 ConditionalOnBean (org.springframework.boot.autoconfigure.condition.ConditionalOnBean)1 ConditionalOnClass (org.springframework.boot.autoconfigure.condition.ConditionalOnClass)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 Bean (org.springframework.context.annotation.Bean)1 Lazy (org.springframework.context.annotation.Lazy)1