@Configuration @EnableConfigurationProperties(value=GsonDataFormatConfiguration.class) @Conditional(value=GsonDataFormatAutoConfiguration.Condition.class) public class GsonDataFormatAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GsonDataFormatAutoConfiguration.Condition |
Constructor and Description |
---|
GsonDataFormatAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.component.gson.GsonDataFormat |
configureGsonDataFormat(org.apache.camel.CamelContext camelContext,
GsonDataFormatConfiguration configuration) |
@Bean(name="json-gson-dataformat") @Scope(value="prototype") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.component.gson.GsonDataFormat.class) public org.apache.camel.component.gson.GsonDataFormat configureGsonDataFormat(org.apache.camel.CamelContext camelContext, GsonDataFormatConfiguration configuration) throws Exception
Exception
Apache Camel