public static interface MinaComponentBuilderFactory.MinaComponentBuilder extends ComponentBuilder<org.apache.camel.component.mina.MinaComponent>
| Modifier and Type | Method and Description |
|---|---|
default MinaComponentBuilderFactory.MinaComponentBuilder |
allowDefaultCodec(boolean allowDefaultCodec)
The mina component installs a default codec if both, codec is null
and textline is false.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
autoStartTls(boolean autoStartTls)
Whether to auto start SSL handshake.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
cachedAddress(boolean cachedAddress)
Whether to create the InetAddress once and reuse.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
clientMode(boolean clientMode)
If the clientMode is true, mina consumer will connect the address as
a TCP client.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
codec(org.apache.mina.filter.codec.ProtocolCodecFactory codec)
To use a custom minda codec implementation.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
configuration(org.apache.camel.component.mina.MinaConfiguration configuration)
To use the shared mina configuration.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
decoderMaxLineLength(int decoderMaxLineLength)
To set the textline protocol decoder max line length.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
disconnect(boolean disconnect)
Whether or not to disconnect(close) from Mina session right after
use.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
disconnectOnNoReply(boolean disconnectOnNoReply)
If sync is enabled then this option dictates MinaConsumer if it
should disconnect where there is no reply to send back.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
encoderMaxLineLength(int encoderMaxLineLength)
To set the textline protocol encoder max line length.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
encoding(String encoding)
You can configure the encoding (a charset name) to use for the TCP
textline codec and the UDP protocol.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
filters(List<org.apache.mina.core.filterchain.IoFilter> filters)
You can set a list of Mina IoFilters to use.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
lazySessionCreation(boolean lazySessionCreation)
Sessions can be lazily created to avoid exceptions, if the remote
server is not up and running when the Camel producer is started.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
maximumPoolSize(int maximumPoolSize)
Number of worker threads in the worker pool for TCP and UDP.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
minaLogger(boolean minaLogger)
You can enable the Apache MINA logging filter.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
noReplyLogLevel(org.apache.camel.LoggingLevel noReplyLogLevel)
If sync is enabled this option dictates MinaConsumer which logging
level to use when logging a there is no reply to send back.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
orderedThreadPoolExecutor(boolean orderedThreadPoolExecutor)
Whether to use ordered thread pool, to ensure events are processed
orderly on the same channel.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure SSL security.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
sync(boolean sync)
Setting to set endpoint as one-way or request-response.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
textline(boolean textline)
Only used for TCP.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
textlineDelimiter(org.apache.camel.component.mina.MinaTextLineDelimiter textlineDelimiter)
Only used for TCP and if textline=true.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
timeout(long timeout)
You can configure the timeout that specifies how long to wait for a
response from a remote server.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
transferExchange(boolean transferExchange)
Only used for TCP.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
default MinaComponentBuilderFactory.MinaComponentBuilder |
writeTimeout(long writeTimeout)
Maximum amount of time it should take to send data to the MINA
session.
|
build, build, doSetProperty, registerdefault MinaComponentBuilderFactory.MinaComponentBuilder disconnect(boolean disconnect)
disconnect - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder minaLogger(boolean minaLogger)
minaLogger - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder sync(boolean sync)
sync - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder timeout(long timeout)
timeout - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder writeTimeout(long writeTimeout)
writeTimeout - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder clientMode(boolean clientMode)
clientMode - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder disconnectOnNoReply(boolean disconnectOnNoReply)
disconnectOnNoReply - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder noReplyLogLevel(org.apache.camel.LoggingLevel noReplyLogLevel)
noReplyLogLevel - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder cachedAddress(boolean cachedAddress)
cachedAddress - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder lazySessionCreation(boolean lazySessionCreation)
lazySessionCreation - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder configuration(org.apache.camel.component.mina.MinaConfiguration configuration)
configuration - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder maximumPoolSize(int maximumPoolSize)
maximumPoolSize - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder orderedThreadPoolExecutor(boolean orderedThreadPoolExecutor)
orderedThreadPoolExecutor - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder transferExchange(boolean transferExchange)
transferExchange - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder allowDefaultCodec(boolean allowDefaultCodec)
allowDefaultCodec - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder codec(org.apache.mina.filter.codec.ProtocolCodecFactory codec)
codec - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder decoderMaxLineLength(int decoderMaxLineLength)
decoderMaxLineLength - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder encoderMaxLineLength(int encoderMaxLineLength)
encoderMaxLineLength - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder encoding(String encoding)
encoding - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder filters(List<org.apache.mina.core.filterchain.IoFilter> filters)
filters - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder textline(boolean textline)
textline - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder textlineDelimiter(org.apache.camel.component.mina.MinaTextLineDelimiter textlineDelimiter)
textlineDelimiter - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder autoStartTls(boolean autoStartTls)
autoStartTls - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
sslContextParameters - the value to setdefault MinaComponentBuilderFactory.MinaComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
useGlobalSslContextParameters - the value to setApache Camel