Interface MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,MinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
,MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Enclosing interface:
- MinaEndpointBuilderFactory
public static interface MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder
extends MinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder, MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
Advanced builder for endpoint for the Mina component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
disconnectOnNoReply
(boolean disconnectOnNoReply) If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back.disconnectOnNoReply
(String disconnectOnNoReply) If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back.maximumPoolSize
(int maximumPoolSize) Number of worker threads in the worker pool for TCP and UDP.maximumPoolSize
(String maximumPoolSize) Number of worker threads in the worker pool for TCP and UDP.orderedThreadPoolExecutor
(boolean orderedThreadPoolExecutor) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.orderedThreadPoolExecutor
(String orderedThreadPoolExecutor) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.transferExchange
(boolean transferExchange) Only used for TCP.transferExchange
(String transferExchange) Only used for TCP.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.MinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, noReplyLogLevel, noReplyLogLevel
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
cachedAddress, cachedAddress, lazySessionCreation, lazySessionCreation, lazyStartProducer, lazyStartProducer
-
Method Details
-
basic
- Specified by:
basic
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
basic
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
-
disconnectOnNoReply
default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder disconnectOnNoReply(boolean disconnectOnNoReply) If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back. The option is a: <code>boolean</code> type. Default: true Group: advanced- Specified by:
disconnectOnNoReply
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
disconnectOnNoReply
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Parameters:
disconnectOnNoReply
- the value to set- Returns:
- the dsl builder
-
disconnectOnNoReply
default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder disconnectOnNoReply(String disconnectOnNoReply) If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Specified by:
disconnectOnNoReply
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
disconnectOnNoReply
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Parameters:
disconnectOnNoReply
- the value to set- Returns:
- the dsl builder
-
maximumPoolSize
Number of worker threads in the worker pool for TCP and UDP. The option is a: <code>int</code> type. Default: 16 Group: advanced- Specified by:
maximumPoolSize
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
maximumPoolSize
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Parameters:
maximumPoolSize
- the value to set- Returns:
- the dsl builder
-
maximumPoolSize
default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder maximumPoolSize(String maximumPoolSize) Number of worker threads in the worker pool for TCP and UDP. The option will be converted to a <code>int</code> type. Default: 16 Group: advanced- Specified by:
maximumPoolSize
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
maximumPoolSize
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Parameters:
maximumPoolSize
- the value to set- Returns:
- the dsl builder
-
orderedThreadPoolExecutor
default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder orderedThreadPoolExecutor(boolean orderedThreadPoolExecutor) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel. The option is a: <code>boolean</code> type. Default: true Group: advanced- Specified by:
orderedThreadPoolExecutor
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
orderedThreadPoolExecutor
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Parameters:
orderedThreadPoolExecutor
- the value to set- Returns:
- the dsl builder
-
orderedThreadPoolExecutor
default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder orderedThreadPoolExecutor(String orderedThreadPoolExecutor) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Specified by:
orderedThreadPoolExecutor
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
orderedThreadPoolExecutor
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Parameters:
orderedThreadPoolExecutor
- the value to set- Returns:
- the dsl builder
-
transferExchange
default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder transferExchange(boolean transferExchange) Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
transferExchange
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
transferExchange
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Parameters:
transferExchange
- the value to set- Returns:
- the dsl builder
-
transferExchange
default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder transferExchange(String transferExchange) Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
transferExchange
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder
- Specified by:
transferExchange
in interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
- Parameters:
transferExchange
- the value to set- Returns:
- the dsl builder
-