@Configuration @EnableConfigurationProperties(value=FreemarkerComponentConfiguration.class) @Conditional(value=FreemarkerComponentAutoConfiguration.Condition.class) public class FreemarkerComponentAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FreemarkerComponentAutoConfiguration.Condition |
Constructor and Description |
---|
FreemarkerComponentAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.component.freemarker.FreemarkerComponent |
configureFreemarkerComponent(org.apache.camel.CamelContext camelContext,
FreemarkerComponentConfiguration configuration) |
public FreemarkerComponentAutoConfiguration()
@Lazy @Bean(name="freemarker-component") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.component.freemarker.FreemarkerComponent.class) public org.apache.camel.component.freemarker.FreemarkerComponent configureFreemarkerComponent(org.apache.camel.CamelContext camelContext, FreemarkerComponentConfiguration configuration) throws Exception
Exception
Apache Camel