Uses of Interface
org.apache.camel.builder.endpoint.dsl.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder
Packages that use NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder
-
Uses of NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dsl
Subinterfaces of NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dslModifier and TypeInterfaceDescriptionstatic interfaceAdvanced builder for endpoint for the Netty component.Methods in org.apache.camel.builder.endpoint.dsl that return NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilderModifier and TypeMethodDescriptionNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder.advanced()NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.allowSerializedHeaders(boolean allowSerializedHeaders) Only used for TCP when transferExchange is true.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.allowSerializedHeaders(String allowSerializedHeaders) Only used for TCP when transferExchange is true.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.backlog(int backlog) Allows to configure a backlog for netty consumer (server).Allows to configure a backlog for netty consumer (server).NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.bossCount(int bossCount) When netty works on nio mode, it uses default bossCount parameter from Netty, which is 1.When netty works on nio mode, it uses default bossCount parameter from Netty, which is 1.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.bossGroup(io.netty.channel.EventLoopGroup bossGroup) Set the BossGroup which could be used for handling the new connection of the server side across the NettyEndpoint.Set the BossGroup which could be used for handling the new connection of the server side across the NettyEndpoint.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.bridgeErrorHandler(boolean bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.bridgeErrorHandler(String bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.channelGroup(io.netty.channel.group.ChannelGroup channelGroup) To use a explicit ChannelGroup.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.channelGroup(String channelGroup) To use a explicit ChannelGroup.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.disconnectOnNoReply(boolean disconnectOnNoReply) If sync is enabled then this option dictates NettyConsumer if it should disconnect where there is no reply to send back.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.disconnectOnNoReply(String disconnectOnNoReply) If sync is enabled then this option dictates NettyConsumer if it should disconnect where there is no reply to send back.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.exceptionHandler(String exceptionHandler) To let the consumer use a custom ExceptionHandler.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler) To let the consumer use a custom ExceptionHandler.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.exchangePattern(String exchangePattern) Sets the exchange pattern when the consumer creates an exchange.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.exchangePattern(org.apache.camel.ExchangePattern exchangePattern) Sets the exchange pattern when the consumer creates an exchange.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.nativeTransport(boolean nativeTransport) Whether to use native transport instead of NIO.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.nativeTransport(String nativeTransport) Whether to use native transport instead of NIO.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.nettyServerBootstrapFactory(String nettyServerBootstrapFactory) To use a custom NettyServerBootstrapFactory.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.nettyServerBootstrapFactory(org.apache.camel.component.netty.NettyServerBootstrapFactory nettyServerBootstrapFactory) To use a custom NettyServerBootstrapFactory.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.networkInterface(String networkInterface) When using UDP then this option can be used to specify a network interface by its name, such as eth0 to join a multicast group.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.noReplyLogLevel(String noReplyLogLevel) If sync is enabled this option dictates NettyConsumer which logging level to use when logging a there is no reply to send back.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.noReplyLogLevel(org.apache.camel.LoggingLevel noReplyLogLevel) If sync is enabled this option dictates NettyConsumer which logging level to use when logging a there is no reply to send back.Allows to configure additional netty options using option.Allows to configure additional netty options using option.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.receiveBufferSize(int receiveBufferSize) The TCP/UDP buffer sizes to be used during inbound communication.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.receiveBufferSize(String receiveBufferSize) The TCP/UDP buffer sizes to be used during inbound communication.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.receiveBufferSizePredictor(int receiveBufferSizePredictor) Configures the buffer size predictor.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.receiveBufferSizePredictor(String receiveBufferSizePredictor) Configures the buffer size predictor.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.sendBufferSize(int sendBufferSize) The TCP/UDP buffer sizes to be used during outbound communication.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.sendBufferSize(String sendBufferSize) The TCP/UDP buffer sizes to be used during outbound communication.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.serverClosedChannelExceptionCaughtLogLevel(String serverClosedChannelExceptionCaughtLogLevel) If the server (NettyConsumer) catches an java.nio.channels.ClosedChannelException then its logged using this logging level.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.serverClosedChannelExceptionCaughtLogLevel(org.apache.camel.LoggingLevel serverClosedChannelExceptionCaughtLogLevel) If the server (NettyConsumer) catches an java.nio.channels.ClosedChannelException then its logged using this logging level.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.serverExceptionCaughtLogLevel(String serverExceptionCaughtLogLevel) If the server (NettyConsumer) catches an exception then its logged using this logging level.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.serverExceptionCaughtLogLevel(org.apache.camel.LoggingLevel serverExceptionCaughtLogLevel) If the server (NettyConsumer) catches an exception then its logged using this logging level.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.serverInitializerFactory(String serverInitializerFactory) To use a custom ServerInitializerFactory.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.serverInitializerFactory(org.apache.camel.component.netty.ServerInitializerFactory serverInitializerFactory) To use a custom ServerInitializerFactory.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.synchronous(boolean synchronous) Sets whether synchronous processing should be strictly used.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.synchronous(String synchronous) Sets whether synchronous processing should be strictly used.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.transferExchange(boolean transferExchange) Only used for TCP.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.transferExchange(String transferExchange) Only used for TCP.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.udpByteArrayCodec(boolean udpByteArrayCodec) For UDP only.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.udpByteArrayCodec(String udpByteArrayCodec) For UDP only.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.unixDomainSocketPath(String unixDomainSocketPath) Path to unix domain socket to use instead of inet socket.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.usingExecutorService(boolean usingExecutorService) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.usingExecutorService(String usingExecutorService) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.workerCount(int workerCount) When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2).NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.workerCount(String workerCount) When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2).NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.workerGroup(io.netty.channel.EventLoopGroup workerGroup) To use a explicit EventLoopGroup as the boss thread pool.NettyEndpointBuilderFactory.AdvancedNettyEndpointConsumerBuilder.workerGroup(String workerGroup) To use a explicit EventLoopGroup as the boss thread pool.