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.AdvancedNettyEndpointBuilderadvanced()default NettyEndpointBuilderFactory.NettyEndpointBuilderallowDefaultCodec(boolean allowDefaultCodec)The netty component installs a default codec if both, encoder/decoder is null and textline is false.default NettyEndpointBuilderFactory.NettyEndpointBuilderallowDefaultCodec(String allowDefaultCodec)The netty component installs a default codec if both, encoder/decoder is null and textline is false.default NettyEndpointBuilderFactory.NettyEndpointBuilderautoAppendDelimiter(boolean autoAppendDelimiter)Whether or not to auto append missing end delimiter when sending using the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilderautoAppendDelimiter(String autoAppendDelimiter)Whether or not to auto append missing end delimiter when sending using the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilderdecoderMaxLineLength(int decoderMaxLineLength)The max line length to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilderdecoderMaxLineLength(String decoderMaxLineLength)The max line length to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilderdecoders(String decoders)A list of decoders to be used.default NettyEndpointBuilderFactory.NettyEndpointBuilderdelimiter(String delimiter)The delimiter to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilderdelimiter(org.apache.camel.component.netty.TextLineDelimiter delimiter)The delimiter to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilderdisconnect(boolean disconnect)Whether or not to disconnect(close) from Netty Channel right after use.default NettyEndpointBuilderFactory.NettyEndpointBuilderdisconnect(String disconnect)Whether or not to disconnect(close) from Netty Channel right after use.default NettyEndpointBuilderFactory.NettyEndpointBuilderenabledProtocols(String enabledProtocols)Which protocols to enable when using SSL.default NettyEndpointBuilderFactory.NettyEndpointBuilderencoders(String encoders)A list of encoders to be used.default NettyEndpointBuilderFactory.NettyEndpointBuilderencoding(String encoding)The encoding (a charset name) to use for the textline codec.default NettyEndpointBuilderFactory.NettyEndpointBuilderhostnameVerification(boolean hostnameVerification)To enable/disable hostname verification on SSLEngine.default NettyEndpointBuilderFactory.NettyEndpointBuilderhostnameVerification(String hostnameVerification)To enable/disable hostname verification on SSLEngine.default NettyEndpointBuilderFactory.NettyEndpointBuilderkeepAlive(boolean keepAlive)Setting to ensure socket is not closed due to inactivity.default NettyEndpointBuilderFactory.NettyEndpointBuilderkeepAlive(String keepAlive)Setting to ensure socket is not closed due to inactivity.default NettyEndpointBuilderFactory.NettyEndpointBuilderkeyStoreFile(File keyStoreFile)Client side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilderkeyStoreFile(String keyStoreFile)Client side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilderkeyStoreFormat(String keyStoreFormat)Keystore format to be used for payload encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilderkeyStoreResource(String keyStoreResource)Client side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilderpassphrase(String passphrase)Password setting to use in order to encrypt/decrypt payloads sent using SSH.default NettyEndpointBuilderFactory.NettyEndpointBuilderreuseAddress(boolean reuseAddress)Setting to facilitate socket multiplexing.default NettyEndpointBuilderFactory.NettyEndpointBuilderreuseAddress(String reuseAddress)Setting to facilitate socket multiplexing.default NettyEndpointBuilderFactory.NettyEndpointBuilderreuseChannel(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.NettyEndpointBuilderreuseChannel(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.NettyEndpointBuildersecurityProvider(String securityProvider)Security provider to be used for payload encryption.default NettyEndpointBuilderFactory.NettyEndpointBuilderssl(boolean ssl)Setting to specify whether SSL encryption is applied to this endpoint.default NettyEndpointBuilderFactory.NettyEndpointBuilderssl(String ssl)Setting to specify whether SSL encryption is applied to this endpoint.default NettyEndpointBuilderFactory.NettyEndpointBuildersslClientCertHeaders(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.NettyEndpointBuildersslClientCertHeaders(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.NettyEndpointBuildersslContextParameters(String sslContextParameters)To configure security using SSLContextParameters.default NettyEndpointBuilderFactory.NettyEndpointBuildersslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)To configure security using SSLContextParameters.default NettyEndpointBuilderFactory.NettyEndpointBuildersslHandler(io.netty.handler.ssl.SslHandler sslHandler)Reference to a class that could be used to return an SSL Handler.default NettyEndpointBuilderFactory.NettyEndpointBuildersslHandler(String sslHandler)Reference to a class that could be used to return an SSL Handler.default NettyEndpointBuilderFactory.NettyEndpointBuildersync(boolean sync)Setting to set endpoint as one-way or request-response.default NettyEndpointBuilderFactory.NettyEndpointBuildersync(String sync)Setting to set endpoint as one-way or request-response.default NettyEndpointBuilderFactory.NettyEndpointBuildertcpNoDelay(boolean tcpNoDelay)Setting to improve TCP protocol performance.default NettyEndpointBuilderFactory.NettyEndpointBuildertcpNoDelay(String tcpNoDelay)Setting to improve TCP protocol performance.default NettyEndpointBuilderFactory.NettyEndpointBuildertextline(boolean textline)Only used for TCP.default NettyEndpointBuilderFactory.NettyEndpointBuildertextline(String textline)Only used for TCP.default NettyEndpointBuilderFactory.NettyEndpointBuildertrustStoreFile(File trustStoreFile)Server side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuildertrustStoreFile(String trustStoreFile)Server side certificate keystore to be used for encryption.default NettyEndpointBuilderFactory.NettyEndpointBuildertrustStoreResource(String trustStoreResource)Server side certificate keystore to be used for encryption.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.NettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
broadcast, broadcast, clientMode, clientMode, needClientAuth, needClientAuth, reconnect, reconnect, reconnectInterval, reconnectInterval
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.NettyEndpointBuilderFactory.NettyEndpointProducerBuilder
connectTimeout, connectTimeout, requestTimeout, requestTimeout
-
-
-
-
Method Detail
-
advanced
default NettyEndpointBuilderFactory.AdvancedNettyEndpointBuilder advanced()
- Specified by:
advancedin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
advancedin 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:
disconnectin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
disconnectin 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:
disconnectin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
disconnectin 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:
keepAlivein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
keepAlivein 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:
keepAlivein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
keepAlivein 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:
reuseAddressin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
reuseAddressin 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:
reuseAddressin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
reuseAddressin 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:
reuseChannelin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
reuseChannelin 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:
reuseChannelin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
reuseChannelin 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:
syncin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
syncin 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:
syncin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
syncin 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:
tcpNoDelayin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
tcpNoDelayin 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:
tcpNoDelayin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
tcpNoDelayin 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:
hostnameVerificationin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
hostnameVerificationin 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:
hostnameVerificationin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
hostnameVerificationin 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:
allowDefaultCodecin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
allowDefaultCodecin 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:
allowDefaultCodecin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
allowDefaultCodecin 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:
autoAppendDelimiterin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
autoAppendDelimiterin 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:
autoAppendDelimiterin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
autoAppendDelimiterin 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:
decoderMaxLineLengthin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
decoderMaxLineLengthin 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:
decoderMaxLineLengthin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
decoderMaxLineLengthin interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder- Parameters:
decoderMaxLineLength- 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 is a: <code>java.lang.String</code> type. Group: codec- Specified by:
decodersin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
decodersin 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:
delimiterin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
delimiterin 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:
delimiterin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
delimiterin interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder- Parameters:
delimiter- 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 is a: <code>java.lang.String</code> type. Group: codec- Specified by:
encodersin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
encodersin 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:
encodingin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
encodingin 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:
textlinein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
textlinein 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:
textlinein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
textlinein 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.2,TLSv1.3 Group: security- Specified by:
enabledProtocolsin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
enabledProtocolsin 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:
keyStoreFilein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
keyStoreFilein 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:
keyStoreFilein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
keyStoreFilein 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:
keyStoreFormatin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
keyStoreFormatin 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:
keyStoreResourcein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
keyStoreResourcein 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:
passphrasein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
passphrasein 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:
securityProviderin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
securityProviderin 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:
sslin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
sslin 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:
sslin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
sslin 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:
sslClientCertHeadersin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
sslClientCertHeadersin 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:
sslClientCertHeadersin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
sslClientCertHeadersin 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:
sslContextParametersin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
sslContextParametersin 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:
sslContextParametersin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
sslContextParametersin 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:
sslHandlerin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
sslHandlerin 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:
sslHandlerin interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
sslHandlerin 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:
trustStoreFilein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
trustStoreFilein 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:
trustStoreFilein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
trustStoreFilein 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:
trustStoreResourcein interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder- Specified by:
trustStoreResourcein interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder- Parameters:
trustStoreResource- the value to set- Returns:
- the dsl builder
-
-