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