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