@Configuration @EnableConfigurationProperties(value=StringDataFormatConfiguration.class) @Conditional(value=StringDataFormatAutoConfiguration.Condition.class) public class StringDataFormatAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StringDataFormatAutoConfiguration.Condition |
Constructor and Description |
---|
StringDataFormatAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.impl.StringDataFormat |
configureStringDataFormat(org.apache.camel.CamelContext camelContext,
StringDataFormatConfiguration configuration) |
@Bean(name="string-dataformat") @Scope(value="prototype") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.impl.StringDataFormat.class) public org.apache.camel.impl.StringDataFormat configureStringDataFormat(org.apache.camel.CamelContext camelContext, StringDataFormatConfiguration configuration) throws Exception
Exception
Apache Camel