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