@Configuration @EnableConfigurationProperties(value=AvroDataFormatConfiguration.class) @Conditional(value=AvroDataFormatAutoConfiguration.Condition.class) public class AvroDataFormatAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AvroDataFormatAutoConfiguration.Condition |
Constructor and Description |
---|
AvroDataFormatAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.dataformat.avro.AvroDataFormat |
configureAvroDataFormat(org.apache.camel.CamelContext camelContext,
AvroDataFormatConfiguration configuration) |
@Bean(name="avro-dataformat") @Scope(value="prototype") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.dataformat.avro.AvroDataFormat.class) public org.apache.camel.dataformat.avro.AvroDataFormat configureAvroDataFormat(org.apache.camel.CamelContext camelContext, AvroDataFormatConfiguration configuration) throws Exception
Exception
Apache Camel