@Configuration @EnableConfigurationProperties(value=HttpComponentConfiguration.class) @Conditional(value=HttpComponentAutoConfiguration.Condition.class) public class HttpComponentAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpComponentAutoConfiguration.Condition |
Constructor and Description |
---|
HttpComponentAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.component.http.HttpComponent |
configureHttpComponent(org.apache.camel.CamelContext camelContext,
HttpComponentConfiguration configuration) |
@Lazy @Bean(name={"http-component","https-component"}) @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.component.http.HttpComponent.class) public org.apache.camel.component.http.HttpComponent configureHttpComponent(org.apache.camel.CamelContext camelContext, HttpComponentConfiguration configuration) throws Exception
Exception
Apache Camel