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