Uses of Interface
org.apache.camel.builder.component.dsl.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder
Packages that use NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder
-
Uses of NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder in org.apache.camel.builder.component
Methods in org.apache.camel.builder.component that return NettyHttpComponentBuilderFactory.NettyHttpComponentBuilderModifier and TypeMethodDescriptionComponentsBuilderFactory.nettyHttp()
Netty HTTP (camel-netty-http) Netty HTTP server and client using the Netty 4.x. -
Uses of NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder in org.apache.camel.builder.component.dsl
Classes in org.apache.camel.builder.component.dsl that implement NettyHttpComponentBuilderFactory.NettyHttpComponentBuilderModifier and TypeClassDescriptionstatic class
Methods in org.apache.camel.builder.component.dsl that return NettyHttpComponentBuilderFactory.NettyHttpComponentBuilderModifier and TypeMethodDescriptionNettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.allowDefaultCodec
(boolean allowDefaultCodec) The netty component installs a default codec if both, encoder/decoder is null and textline is false.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.allowSerializedHeaders
(boolean allowSerializedHeaders) Only used for TCP when transferExchange is true.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.autoAppendDelimiter
(boolean autoAppendDelimiter) Whether or not to auto append missing end delimiter when sending using the textline codec.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.autowiredEnabled
(boolean autowiredEnabled) Whether autowiring is enabled.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.backlog
(int backlog) Allows to configure a backlog for netty consumer (server).NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.bossCount
(int bossCount) When netty works on nio mode, it uses default bossCount parameter from Netty, which is 1.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.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.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.bridgeErrorHandler
(boolean bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.broadcast
(boolean broadcast) Setting to choose Multicast over UDP.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.channelGroup
(io.netty.channel.group.ChannelGroup channelGroup) To use a explicit ChannelGroup.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.clientInitializerFactory
(org.apache.camel.component.netty.ClientInitializerFactory clientInitializerFactory) To use a custom ClientInitializerFactory.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.clientMode
(boolean clientMode) If the clientMode is true, netty consumer will connect the address as a TCP client.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.configuration
(org.apache.camel.component.netty.NettyConfiguration configuration) To use the NettyConfiguration as configuration when creating endpoints.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.connectTimeout
(int connectTimeout) Time to wait for a socket connection to be available.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.correlationManager
(org.apache.camel.component.netty.NettyCamelStateCorrelationManager correlationManager) To use a custom correlation manager to manage how request and reply messages are mapped when using request/reply with the netty producer.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.decoderMaxLineLength
(int decoderMaxLineLength) The max line length to use for the textline codec.A list of decoders to be used.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.delimiter
(org.apache.camel.component.netty.TextLineDelimiter delimiter) The delimiter to use for the textline codec.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.disconnect
(boolean disconnect) Whether or not to disconnect(close) from Netty Channel right after use.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.disconnectOnNoReply
(boolean disconnectOnNoReply) If sync is enabled then this option dictates NettyConsumer if it should disconnect where there is no reply to send back.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.enabledProtocols
(String enabledProtocols) Which protocols to enable when using SSL.A list of encoders to be used.The encoding (a charset name) to use for the textline codec.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.executorService
(io.netty.util.concurrent.EventExecutorGroup executorService) To use the given EventExecutorGroup.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.headerFilterStrategy
(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter headers.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.hostnameVerification
(boolean hostnameVerification) To enable/disable hostname verification on SSLEngine.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.keepAlive
(boolean keepAlive) Setting to ensure socket is not closed due to inactivity.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.keyStoreFile
(File keyStoreFile) Client side certificate keystore to be used for encryption.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.keyStoreFormat
(String keyStoreFormat) Keystore format to be used for payload encryption.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.keyStoreResource
(String keyStoreResource) Client side certificate keystore to be used for encryption.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.lazyChannelCreation
(boolean lazyChannelCreation) Channels can be lazily created to avoid exceptions, if the remote server is not up and running when the Camel producer is started.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.lazyStartProducer
(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.maximumPoolSize
(int maximumPoolSize) Sets a maximum thread pool size for the netty consumer ordered thread pool.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.muteException
(boolean muteException) If enabled and an Exchange failed processing on the consumer side the response's body won't contain the exception's stack trace.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.nativeTransport
(boolean nativeTransport) Whether to use native transport instead of NIO.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.needClientAuth
(boolean needClientAuth) Configures whether the server needs client authentication when using SSL.NettyHttpComponentBuilderFactory.nettyHttp()
Netty HTTP (camel-netty-http) Netty HTTP server and client using the Netty 4.x.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.nettyHttpBinding
(org.apache.camel.component.netty.http.NettyHttpBinding nettyHttpBinding) To use a custom org.apache.camel.component.netty.http.NettyHttpBinding for binding to/from Netty and Camel Message API.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.nettyServerBootstrapFactory
(org.apache.camel.component.netty.NettyServerBootstrapFactory nettyServerBootstrapFactory) To use a custom NettyServerBootstrapFactory.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.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.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.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.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.passphrase
(String passphrase) Password setting to use in order to encrypt/decrypt payloads sent using SSH.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.producerPoolBlockWhenExhausted
(boolean producerPoolBlockWhenExhausted) Sets the value for the blockWhenExhausted configuration attribute.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.producerPoolEnabled
(boolean producerPoolEnabled) Whether producer pool is enabled or not.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.producerPoolMaxIdle
(int producerPoolMaxIdle) Sets the cap on the number of idle instances in the pool.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.producerPoolMaxTotal
(int producerPoolMaxTotal) Sets the cap on the number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.producerPoolMaxWait
(long producerPoolMaxWait) Sets the maximum duration (value in millis) the borrowObject() method should block before throwing an exception when the pool is exhausted and producerPoolBlockWhenExhausted is true.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.producerPoolMinEvictableIdle
(long producerPoolMinEvictableIdle) Sets the minimum amount of time (value in millis) an object may sit idle in the pool before it is eligible for eviction by the idle object evictor.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.producerPoolMinIdle
(int producerPoolMinIdle) Sets the minimum number of instances allowed in the producer pool before the evictor thread (if active) spawns new objects.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.receiveBufferSize
(int receiveBufferSize) The TCP/UDP buffer sizes to be used during inbound communication.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.receiveBufferSizePredictor
(int receiveBufferSizePredictor) Configures the buffer size predictor.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.reconnect
(boolean reconnect) Used only in clientMode in consumer, the consumer will attempt to reconnect on disconnection if this is enabled.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.reconnectInterval
(int reconnectInterval) Used if reconnect and clientMode is enabled.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.requestTimeout
(long requestTimeout) Allows to use a timeout for the Netty producer when calling a remote server.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.reuseAddress
(boolean reuseAddress) Setting to facilitate socket multiplexing.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.reuseChannel
(boolean reuseChannel) This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.securityConfiguration
(org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration securityConfiguration) Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.securityProvider
(String securityProvider) Security provider to be used for payload encryption.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.sendBufferSize
(int sendBufferSize) The TCP/UDP buffer sizes to be used during outbound communication.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.serverClosedChannelExceptionCaughtLogLevel
(org.apache.camel.LoggingLevel serverClosedChannelExceptionCaughtLogLevel) If the server (NettyConsumer) catches an java.nio.channels.ClosedChannelException then its logged using this logging level.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.serverExceptionCaughtLogLevel
(org.apache.camel.LoggingLevel serverExceptionCaughtLogLevel) If the server (NettyConsumer) catches an exception then its logged using this logging level.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.serverInitializerFactory
(org.apache.camel.component.netty.ServerInitializerFactory serverInitializerFactory) To use a custom ServerInitializerFactory.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.ssl
(boolean ssl) Setting to specify whether SSL encryption is applied to this endpoint.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.sslClientCertHeaders
(boolean sslClientCertHeaders) When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.sslContextParameters
(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParameters.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.sslHandler
(io.netty.handler.ssl.SslHandler sslHandler) Reference to a class that could be used to return an SSL Handler.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.sync
(boolean sync) Setting to set endpoint as one-way or request-response.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.tcpNoDelay
(boolean tcpNoDelay) Setting to improve TCP protocol performance.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.textline
(boolean textline) Only used for TCP.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.transferExchange
(boolean transferExchange) Only used for TCP.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.trustStoreFile
(File trustStoreFile) Server side certificate keystore to be used for encryption.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.trustStoreResource
(String trustStoreResource) Server side certificate keystore to be used for encryption.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.udpByteArrayCodec
(boolean udpByteArrayCodec) For UDP only.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.udpConnectionlessSending
(boolean udpConnectionlessSending) This option supports connection less udp sending which is a real fire and forget.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.unixDomainSocketPath
(String unixDomainSocketPath) Path to unix domain socket to use instead of inet socket.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.useByteBuf
(boolean useByteBuf) If the useByteBuf is true, netty producer will turn the message body into ByteBuf before sending it out.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.useGlobalSslContextParameters
(boolean useGlobalSslContextParameters) Enable usage of global SSL context parameters.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.usingExecutorService
(boolean usingExecutorService) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.workerCount
(int workerCount) When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2).NettyHttpComponentBuilderFactory.NettyHttpComponentBuilder.workerGroup
(io.netty.channel.EventLoopGroup workerGroup) To use a explicit EventLoopGroup as the boss thread pool.