Interface NettyEndpointBuilderFactory.NettyEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,NettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
,NettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Enclosing interface:
- NettyEndpointBuilderFactory
public static interface NettyEndpointBuilderFactory.NettyEndpointBuilder extends NettyEndpointBuilderFactory.NettyEndpointConsumerBuilder, NettyEndpointBuilderFactory.NettyEndpointProducerBuilder
Builder for endpoint for the Netty component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default NettyEndpointBuilderFactory.AdvancedNettyEndpointBuilder
advanced()
default NettyEndpointBuilderFactory.NettyEndpointBuilder
allowDefaultCodec(boolean allowDefaultCodec)
The netty component installs a default codec if both, encoder/decoder is null and textline is false.default NettyEndpointBuilderFactory.NettyEndpointBuilder
allowDefaultCodec(String allowDefaultCodec)
The netty component installs a default codec if both, encoder/decoder is null and textline is false.default NettyEndpointBuilderFactory.NettyEndpointBuilder
autoAppendDelimiter(boolean autoAppendDelimiter)
Whether or not to auto append missing end delimiter when sending using the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilder
autoAppendDelimiter(String autoAppendDelimiter)
Whether or not to auto append missing end delimiter when sending using the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilder
decoderMaxLineLength(int decoderMaxLineLength)
The max line length to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilder
decoderMaxLineLength(String decoderMaxLineLength)
The max line length to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilder
decoders(String decoders)
A list of decoders to be used.default NettyEndpointBuilderFactory.NettyEndpointBuilder
decoders(List<io.netty.channel.ChannelHandler> decoders)
A list of decoders to be used.default NettyEndpointBuilderFactory.NettyEndpointBuilder
delimiter(String delimiter)
The delimiter to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilder
delimiter(org.apache.camel.component.netty.TextLineDelimiter delimiter)
The delimiter to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilder
disconnect(boolean disconnect)
Whether or not to disconnect(close) from Netty Channel right after use.default NettyEndpointBuilderFactory.NettyEndpointBuilder
disconnect(String disconnect)
Whether or not to disconnect(close) from Netty Channel right after use.default NettyEndpointBuilderFactory.NettyEndpointBuilder
enabledProtocols(String enabledProtocols)
Which protocols to enable when using SSL.default NettyEndpointBuilderFactory.NettyEndpointBuilder
encoders(String encoders)
A list of encoders to be used.default NettyEndpointBuilderFactory.NettyEndpointBuilder
encoders(List<io.netty.channel.ChannelHandler> encoders)
A list of encoders to be used.default NettyEndpointBuilderFactory.NettyEndpointBuilder
encoding(String encoding)
The encoding (a charset name) to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilder
hostnameVerification(boolean hostnameVerification)
To enable/disable hostname verification on SSLEngine.default NettyEndpointBuilderFactory.NettyEndpointBuilder
hostnameVerification(String hostnameVerification)
To enable/disable hostname verification on SSLEngine.default NettyEndpointBuilderFactory.NettyEndpointBuilder
keepAlive(boolean keepAlive)
Setting to ensure socket is not closed due to inactivity.default NettyEndpointBuilderFactory.NettyEndpointBuilder
keepAlive(String keepAlive)
Setting to ensure socket is not closed due to inactivity.default NettyEndpointBuilderFactory.NettyEndpointBuilder
keyStoreFile(File keyStoreFile)
Client side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilder
keyStoreFile(String keyStoreFile)
Client side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilder
keyStoreFormat(String keyStoreFormat)
Keystore format to be used for payload encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilder
keyStoreResource(String keyStoreResource)
Client side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilder
passphrase(String passphrase)
Password setting to use in order to encrypt/decrypt payloads sent using SSH.default NettyEndpointBuilderFactory.NettyEndpointBuilder
reuseAddress(boolean reuseAddress)
Setting to facilitate socket multiplexing.default NettyEndpointBuilderFactory.NettyEndpointBuilder
reuseAddress(String reuseAddress)
Setting to facilitate socket multiplexing.default NettyEndpointBuilderFactory.NettyEndpointBuilder
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.default NettyEndpointBuilderFactory.NettyEndpointBuilder
reuseChannel(String reuseChannel)
This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange.default NettyEndpointBuilderFactory.NettyEndpointBuilder
securityProvider(String securityProvider)
Security provider to be used for payload encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilder
ssl(boolean ssl)
Setting to specify whether SSL encryption is applied to this endpoint.default NettyEndpointBuilderFactory.NettyEndpointBuilder
ssl(String ssl)
Setting to specify whether SSL encryption is applied to this endpoint.default NettyEndpointBuilderFactory.NettyEndpointBuilder
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.default NettyEndpointBuilderFactory.NettyEndpointBuilder
sslClientCertHeaders(String 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.default NettyEndpointBuilderFactory.NettyEndpointBuilder
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.default NettyEndpointBuilderFactory.NettyEndpointBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.default NettyEndpointBuilderFactory.NettyEndpointBuilder
sslHandler(io.netty.handler.ssl.SslHandler sslHandler)
Reference to a class that could be used to return an SSL Handler.default NettyEndpointBuilderFactory.NettyEndpointBuilder
sslHandler(String sslHandler)
Reference to a class that could be used to return an SSL Handler.default NettyEndpointBuilderFactory.NettyEndpointBuilder
sync(boolean sync)
Setting to set endpoint as one-way or request-response.default NettyEndpointBuilderFactory.NettyEndpointBuilder
sync(String sync)
Setting to set endpoint as one-way or request-response.default NettyEndpointBuilderFactory.NettyEndpointBuilder
tcpNoDelay(boolean tcpNoDelay)
Setting to improve TCP protocol performance.default NettyEndpointBuilderFactory.NettyEndpointBuilder
tcpNoDelay(String tcpNoDelay)
Setting to improve TCP protocol performance.default NettyEndpointBuilderFactory.NettyEndpointBuilder
textline(boolean textline)
Only used for TCP.default NettyEndpointBuilderFactory.NettyEndpointBuilder
textline(String textline)
Only used for TCP.default NettyEndpointBuilderFactory.NettyEndpointBuilder
trustStoreFile(File trustStoreFile)
Server side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilder
trustStoreFile(String trustStoreFile)
Server side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilder
trustStoreResource(String trustStoreResource)
Server side certificate keystore to be used for encryption.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.NettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, broadcast, broadcast, clientMode, clientMode, needClientAuth, needClientAuth, reconnect, reconnect, reconnectInterval, reconnectInterval
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.NettyEndpointBuilderFactory.NettyEndpointProducerBuilder
connectTimeout, connectTimeout, lazyStartProducer, lazyStartProducer, requestTimeout, requestTimeout
-
-
-
-
Method Detail
-
advanced
default NettyEndpointBuilderFactory.AdvancedNettyEndpointBuilder advanced()
- Specified by:
advanced
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
advanced
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
-
disconnect
default NettyEndpointBuilderFactory.NettyEndpointBuilder disconnect(boolean disconnect)
Whether or not to disconnect(close) from Netty Channel right after use. Can be used for both consumer and producer. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
disconnect
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
disconnect
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
disconnect
- the value to set- Returns:
- the dsl builder
-
disconnect
default NettyEndpointBuilderFactory.NettyEndpointBuilder disconnect(String disconnect)
Whether or not to disconnect(close) from Netty Channel right after use. Can be used for both consumer and producer. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
disconnect
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
disconnect
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
disconnect
- the value to set- Returns:
- the dsl builder
-
keepAlive
default NettyEndpointBuilderFactory.NettyEndpointBuilder keepAlive(boolean keepAlive)
Setting to ensure socket is not closed due to inactivity. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
keepAlive
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
keepAlive
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
keepAlive
- the value to set- Returns:
- the dsl builder
-
keepAlive
default NettyEndpointBuilderFactory.NettyEndpointBuilder keepAlive(String keepAlive)
Setting to ensure socket is not closed due to inactivity. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
keepAlive
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
keepAlive
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
keepAlive
- the value to set- Returns:
- the dsl builder
-
reuseAddress
default NettyEndpointBuilderFactory.NettyEndpointBuilder reuseAddress(boolean reuseAddress)
Setting to facilitate socket multiplexing. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
reuseAddress
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
reuseAddress
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
reuseAddress
- the value to set- Returns:
- the dsl builder
-
reuseAddress
default NettyEndpointBuilderFactory.NettyEndpointBuilder reuseAddress(String reuseAddress)
Setting to facilitate socket multiplexing. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
reuseAddress
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
reuseAddress
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
reuseAddress
- the value to set- Returns:
- the dsl builder
-
reuseChannel
default NettyEndpointBuilderFactory.NettyEndpointBuilder 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. This is useful if you need to call a server multiple times in a Camel route and want to use the same network connection. When using this, the channel is not returned to the connection pool until the Exchange is done; or disconnected if the disconnect option is set to true. The reused Channel is stored on the Exchange as an exchange property with the key NettyConstants#NETTY_CHANNEL which allows you to obtain the channel during routing and use it as well. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
reuseChannel
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
reuseChannel
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
reuseChannel
- the value to set- Returns:
- the dsl builder
-
reuseChannel
default NettyEndpointBuilderFactory.NettyEndpointBuilder reuseChannel(String reuseChannel)
This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange. This is useful if you need to call a server multiple times in a Camel route and want to use the same network connection. When using this, the channel is not returned to the connection pool until the Exchange is done; or disconnected if the disconnect option is set to true. The reused Channel is stored on the Exchange as an exchange property with the key NettyConstants#NETTY_CHANNEL which allows you to obtain the channel during routing and use it as well. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
reuseChannel
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
reuseChannel
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
reuseChannel
- the value to set- Returns:
- the dsl builder
-
sync
default NettyEndpointBuilderFactory.NettyEndpointBuilder sync(boolean sync)
Setting to set endpoint as one-way or request-response. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
sync
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
sync
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
sync
- the value to set- Returns:
- the dsl builder
-
sync
default NettyEndpointBuilderFactory.NettyEndpointBuilder sync(String sync)
Setting to set endpoint as one-way or request-response. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
sync
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
sync
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
sync
- the value to set- Returns:
- the dsl builder
-
tcpNoDelay
default NettyEndpointBuilderFactory.NettyEndpointBuilder tcpNoDelay(boolean tcpNoDelay)
Setting to improve TCP protocol performance. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
tcpNoDelay
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
tcpNoDelay
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
tcpNoDelay
- the value to set- Returns:
- the dsl builder
-
tcpNoDelay
default NettyEndpointBuilderFactory.NettyEndpointBuilder tcpNoDelay(String tcpNoDelay)
Setting to improve TCP protocol performance. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
tcpNoDelay
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
tcpNoDelay
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
tcpNoDelay
- the value to set- Returns:
- the dsl builder
-
hostnameVerification
default NettyEndpointBuilderFactory.NettyEndpointBuilder hostnameVerification(boolean hostnameVerification)
To enable/disable hostname verification on SSLEngine. The option is a: <code>boolean</code> type. Default: false Group: security- Specified by:
hostnameVerification
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
hostnameVerification
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
hostnameVerification
- the value to set- Returns:
- the dsl builder
-
hostnameVerification
default NettyEndpointBuilderFactory.NettyEndpointBuilder hostnameVerification(String hostnameVerification)
To enable/disable hostname verification on SSLEngine. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Specified by:
hostnameVerification
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
hostnameVerification
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
hostnameVerification
- the value to set- Returns:
- the dsl builder
-
allowDefaultCodec
default NettyEndpointBuilderFactory.NettyEndpointBuilder allowDefaultCodec(boolean allowDefaultCodec)
The netty component installs a default codec if both, encoder/decoder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain. The option is a: <code>boolean</code> type. Default: true Group: codec- Specified by:
allowDefaultCodec
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
allowDefaultCodec
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
allowDefaultCodec
- the value to set- Returns:
- the dsl builder
-
allowDefaultCodec
default NettyEndpointBuilderFactory.NettyEndpointBuilder allowDefaultCodec(String allowDefaultCodec)
The netty component installs a default codec if both, encoder/decoder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain. The option will be converted to a <code>boolean</code> type. Default: true Group: codec- Specified by:
allowDefaultCodec
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
allowDefaultCodec
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
allowDefaultCodec
- the value to set- Returns:
- the dsl builder
-
autoAppendDelimiter
default NettyEndpointBuilderFactory.NettyEndpointBuilder autoAppendDelimiter(boolean autoAppendDelimiter)
Whether or not to auto append missing end delimiter when sending using the textline codec. The option is a: <code>boolean</code> type. Default: true Group: codec- Specified by:
autoAppendDelimiter
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
autoAppendDelimiter
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
autoAppendDelimiter
- the value to set- Returns:
- the dsl builder
-
autoAppendDelimiter
default NettyEndpointBuilderFactory.NettyEndpointBuilder autoAppendDelimiter(String autoAppendDelimiter)
Whether or not to auto append missing end delimiter when sending using the textline codec. The option will be converted to a <code>boolean</code> type. Default: true Group: codec- Specified by:
autoAppendDelimiter
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
autoAppendDelimiter
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
autoAppendDelimiter
- the value to set- Returns:
- the dsl builder
-
decoderMaxLineLength
default NettyEndpointBuilderFactory.NettyEndpointBuilder decoderMaxLineLength(int decoderMaxLineLength)
The max line length to use for the textline codec. The option is a: <code>int</code> type. Default: 1024 Group: codec- Specified by:
decoderMaxLineLength
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
decoderMaxLineLength
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
decoderMaxLineLength
- the value to set- Returns:
- the dsl builder
-
decoderMaxLineLength
default NettyEndpointBuilderFactory.NettyEndpointBuilder decoderMaxLineLength(String decoderMaxLineLength)
The max line length to use for the textline codec. The option will be converted to a <code>int</code> type. Default: 1024 Group: codec- Specified by:
decoderMaxLineLength
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
decoderMaxLineLength
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
decoderMaxLineLength
- the value to set- Returns:
- the dsl builder
-
decoders
default NettyEndpointBuilderFactory.NettyEndpointBuilder decoders(List<io.netty.channel.ChannelHandler> decoders)
A list of decoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup. The option is a: <code>java.util.List<io.netty.channel.ChannelHandler></code> type. Group: codec- Specified by:
decoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
decoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
decoders
- the value to set- Returns:
- the dsl builder
-
decoders
default NettyEndpointBuilderFactory.NettyEndpointBuilder decoders(String decoders)
A list of decoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup. The option will be converted to a <code>java.util.List<io.netty.channel.ChannelHandler></code> type. Group: codec- Specified by:
decoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
decoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
decoders
- the value to set- Returns:
- the dsl builder
-
delimiter
default NettyEndpointBuilderFactory.NettyEndpointBuilder delimiter(org.apache.camel.component.netty.TextLineDelimiter delimiter)
The delimiter to use for the textline codec. Possible values are LINE and NULL. The option is a: <code>org.apache.camel.component.netty.TextLineDelimiter</code> type. Default: LINE Group: codec- Specified by:
delimiter
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
delimiter
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
delimiter
- the value to set- Returns:
- the dsl builder
-
delimiter
default NettyEndpointBuilderFactory.NettyEndpointBuilder delimiter(String delimiter)
The delimiter to use for the textline codec. Possible values are LINE and NULL. The option will be converted to a <code>org.apache.camel.component.netty.TextLineDelimiter</code> type. Default: LINE Group: codec- Specified by:
delimiter
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
delimiter
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
delimiter
- the value to set- Returns:
- the dsl builder
-
encoders
default NettyEndpointBuilderFactory.NettyEndpointBuilder encoders(List<io.netty.channel.ChannelHandler> encoders)
A list of encoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup. The option is a: <code>java.util.List<io.netty.channel.ChannelHandler></code> type. Group: codec- Specified by:
encoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
encoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
encoders
- the value to set- Returns:
- the dsl builder
-
encoders
default NettyEndpointBuilderFactory.NettyEndpointBuilder encoders(String encoders)
A list of encoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup. The option will be converted to a <code>java.util.List<io.netty.channel.ChannelHandler></code> type. Group: codec- Specified by:
encoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
encoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
encoders
- the value to set- Returns:
- the dsl builder
-
encoding
default NettyEndpointBuilderFactory.NettyEndpointBuilder encoding(String encoding)
The encoding (a charset name) to use for the textline codec. If not provided, Camel will use the JVM default Charset. The option is a: <code>java.lang.String</code> type. Group: codec- Specified by:
encoding
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
encoding
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
encoding
- the value to set- Returns:
- the dsl builder
-
textline
default NettyEndpointBuilderFactory.NettyEndpointBuilder textline(boolean textline)
Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; if not specified or the value is false, then Object Serialization is assumed over TCP - however only Strings are allowed to be serialized by default. The option is a: <code>boolean</code> type. Default: false Group: codec- Specified by:
textline
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
textline
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
textline
- the value to set- Returns:
- the dsl builder
-
textline
default NettyEndpointBuilderFactory.NettyEndpointBuilder textline(String textline)
Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; if not specified or the value is false, then Object Serialization is assumed over TCP - however only Strings are allowed to be serialized by default. The option will be converted to a <code>boolean</code> type. Default: false Group: codec- Specified by:
textline
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
textline
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
textline
- the value to set- Returns:
- the dsl builder
-
enabledProtocols
default NettyEndpointBuilderFactory.NettyEndpointBuilder enabledProtocols(String enabledProtocols)
Which protocols to enable when using SSL. The option is a: <code>java.lang.String</code> type. Default: TLSv1,TLSv1.1,TLSv1.2 Group: security- Specified by:
enabledProtocols
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
enabledProtocols
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
enabledProtocols
- the value to set- Returns:
- the dsl builder
-
keyStoreFile
default NettyEndpointBuilderFactory.NettyEndpointBuilder keyStoreFile(File keyStoreFile)
Client side certificate keystore to be used for encryption. The option is a: <code>java.io.File</code> type. Group: security- Specified by:
keyStoreFile
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
keyStoreFile
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
keyStoreFile
- the value to set- Returns:
- the dsl builder
-
keyStoreFile
default NettyEndpointBuilderFactory.NettyEndpointBuilder keyStoreFile(String keyStoreFile)
Client side certificate keystore to be used for encryption. The option will be converted to a <code>java.io.File</code> type. Group: security- Specified by:
keyStoreFile
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
keyStoreFile
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
keyStoreFile
- the value to set- Returns:
- the dsl builder
-
keyStoreFormat
default NettyEndpointBuilderFactory.NettyEndpointBuilder keyStoreFormat(String keyStoreFormat)
Keystore format to be used for payload encryption. Defaults to JKS if not set. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
keyStoreFormat
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
keyStoreFormat
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
keyStoreFormat
- the value to set- Returns:
- the dsl builder
-
keyStoreResource
default NettyEndpointBuilderFactory.NettyEndpointBuilder keyStoreResource(String keyStoreResource)
Client side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
keyStoreResource
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
keyStoreResource
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
keyStoreResource
- the value to set- Returns:
- the dsl builder
-
passphrase
default NettyEndpointBuilderFactory.NettyEndpointBuilder passphrase(String passphrase)
Password setting to use in order to encrypt/decrypt payloads sent using SSH. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
passphrase
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
passphrase
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
passphrase
- the value to set- Returns:
- the dsl builder
-
securityProvider
default NettyEndpointBuilderFactory.NettyEndpointBuilder securityProvider(String securityProvider)
Security provider to be used for payload encryption. Defaults to SunX509 if not set. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
securityProvider
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
securityProvider
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
securityProvider
- the value to set- Returns:
- the dsl builder
-
ssl
default NettyEndpointBuilderFactory.NettyEndpointBuilder ssl(boolean ssl)
Setting to specify whether SSL encryption is applied to this endpoint. The option is a: <code>boolean</code> type. Default: false Group: security- Specified by:
ssl
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
ssl
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
ssl
- the value to set- Returns:
- the dsl builder
-
ssl
default NettyEndpointBuilderFactory.NettyEndpointBuilder ssl(String ssl)
Setting to specify whether SSL encryption is applied to this endpoint. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Specified by:
ssl
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
ssl
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
ssl
- the value to set- Returns:
- the dsl builder
-
sslClientCertHeaders
default NettyEndpointBuilderFactory.NettyEndpointBuilder 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. The option is a: <code>boolean</code> type. Default: false Group: security- Specified by:
sslClientCertHeaders
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
sslClientCertHeaders
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
sslClientCertHeaders
- the value to set- Returns:
- the dsl builder
-
sslClientCertHeaders
default NettyEndpointBuilderFactory.NettyEndpointBuilder sslClientCertHeaders(String 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. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Specified by:
sslClientCertHeaders
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
sslClientCertHeaders
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
sslClientCertHeaders
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default NettyEndpointBuilderFactory.NettyEndpointBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParameters
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
sslContextParameters
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default NettyEndpointBuilderFactory.NettyEndpointBuilder sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParameters
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
sslContextParameters
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslHandler
default NettyEndpointBuilderFactory.NettyEndpointBuilder sslHandler(io.netty.handler.ssl.SslHandler sslHandler)
Reference to a class that could be used to return an SSL Handler. The option is a: <code>io.netty.handler.ssl.SslHandler</code> type. Group: security- Specified by:
sslHandler
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
sslHandler
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
sslHandler
- the value to set- Returns:
- the dsl builder
-
sslHandler
default NettyEndpointBuilderFactory.NettyEndpointBuilder sslHandler(String sslHandler)
Reference to a class that could be used to return an SSL Handler. The option will be converted to a <code>io.netty.handler.ssl.SslHandler</code> type. Group: security- Specified by:
sslHandler
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
sslHandler
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
sslHandler
- the value to set- Returns:
- the dsl builder
-
trustStoreFile
default NettyEndpointBuilderFactory.NettyEndpointBuilder trustStoreFile(File trustStoreFile)
Server side certificate keystore to be used for encryption. The option is a: <code>java.io.File</code> type. Group: security- Specified by:
trustStoreFile
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
trustStoreFile
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
trustStoreFile
- the value to set- Returns:
- the dsl builder
-
trustStoreFile
default NettyEndpointBuilderFactory.NettyEndpointBuilder trustStoreFile(String trustStoreFile)
Server side certificate keystore to be used for encryption. The option will be converted to a <code>java.io.File</code> type. Group: security- Specified by:
trustStoreFile
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
trustStoreFile
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
trustStoreFile
- the value to set- Returns:
- the dsl builder
-
trustStoreResource
default NettyEndpointBuilderFactory.NettyEndpointBuilder trustStoreResource(String trustStoreResource)
Server side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
trustStoreResource
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
trustStoreResource
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
trustStoreResource
- the value to set- Returns:
- the dsl builder
-
-