@Configuration @EnableConfigurationProperties(value=JaxbDataFormatConfiguration.class) @Conditional(value=JaxbDataFormatAutoConfiguration.Condition.class) public class JaxbDataFormatAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JaxbDataFormatAutoConfiguration.Condition |
Constructor and Description |
---|
JaxbDataFormatAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.converter.jaxb.JaxbDataFormat |
configureJaxbDataFormat(org.apache.camel.CamelContext camelContext,
JaxbDataFormatConfiguration configuration) |
@Bean(name="jaxb-dataformat") @Scope(value="prototype") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.converter.jaxb.JaxbDataFormat.class) public org.apache.camel.converter.jaxb.JaxbDataFormat configureJaxbDataFormat(org.apache.camel.CamelContext camelContext, JaxbDataFormatConfiguration configuration) throws Exception
Exception
Apache Camel