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
Modifier and TypeMethodDescriptionadvanced()
allowDefaultCodec
(boolean allowDefaultCodec) The netty component installs a default codec if both, encoder/decoder is null and textline is false.allowDefaultCodec
(String allowDefaultCodec) The netty component installs a default codec if both, encoder/decoder is null and textline is false.autoAppendDelimiter
(boolean autoAppendDelimiter) Whether or not to auto append missing end delimiter when sending using the textline codec.autoAppendDelimiter
(String autoAppendDelimiter) Whether or not to auto append missing end delimiter when sending using the textline codec.decoderMaxLineLength
(int decoderMaxLineLength) The max line length to use for the textline codec.decoderMaxLineLength
(String decoderMaxLineLength) The max line length to use for the textline codec.A list of decoders to be used.The delimiter to use for the textline codec.delimiter
(org.apache.camel.component.netty.TextLineDelimiter delimiter) The delimiter to use for the textline codec.disconnect
(boolean disconnect) Whether or not to disconnect(close) from Netty Channel right after use.disconnect
(String disconnect) Whether or not to disconnect(close) from Netty Channel right after use.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.hostnameVerification
(boolean hostnameVerification) To enable/disable hostname verification on SSLEngine.hostnameVerification
(String hostnameVerification) To enable/disable hostname verification on SSLEngine.keepAlive
(boolean keepAlive) Setting to ensure socket is not closed due to inactivity.Setting to ensure socket is not closed due to inactivity.keyStoreFile
(File keyStoreFile) Client side certificate keystore to be used for encryption.keyStoreFile
(String keyStoreFile) Client side certificate keystore to be used for encryption.keyStoreFormat
(String keyStoreFormat) Keystore format to be used for payload encryption.keyStoreResource
(String keyStoreResource) Client side certificate keystore to be used for encryption.passphrase
(String passphrase) Password setting to use in order to encrypt/decrypt payloads sent using SSH.reuseAddress
(boolean reuseAddress) Setting to facilitate socket multiplexing.reuseAddress
(String reuseAddress) Setting to facilitate socket multiplexing.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.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.securityProvider
(String securityProvider) Security provider to be used for payload encryption.ssl
(boolean ssl) Setting to specify whether SSL encryption is applied to this endpoint.Setting to specify whether SSL encryption is applied to this endpoint.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.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.sslContextParameters
(String sslContextParameters) To configure security using SSLContextParameters.sslContextParameters
(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParameters.sslHandler
(io.netty.handler.ssl.SslHandler sslHandler) Reference to a class that could be used to return an SSL Handler.sslHandler
(String sslHandler) Reference to a class that could be used to return an SSL Handler.sync
(boolean sync) Setting to set endpoint as one-way or request-response.Setting to set endpoint as one-way or request-response.tcpNoDelay
(boolean tcpNoDelay) Setting to improve TCP protocol performance.tcpNoDelay
(String tcpNoDelay) Setting to improve TCP protocol performance.textline
(boolean textline) Only used for TCP.Only used for TCP.trustStoreFile
(File trustStoreFile) Server side certificate keystore to be used for encryption.trustStoreFile
(String trustStoreFile) Server side certificate keystore to be used for encryption.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, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
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 Details
-
advanced
- Specified by:
advanced
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
advanced
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
-
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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:
encoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
encoders
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
encoders
- the value to set- Returns:
- the dsl builder
-
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
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
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
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:
enabledProtocols
in interfaceNettyEndpointBuilderFactory.NettyEndpointConsumerBuilder
- Specified by:
enabledProtocols
in interfaceNettyEndpointBuilderFactory.NettyEndpointProducerBuilder
- Parameters:
enabledProtocols
- the value to set- Returns:
- the dsl builder
-
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
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
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
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
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
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
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
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
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
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
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. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. 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
-