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
All Methods Instance Methods Default Methods Modifier and Type Method Description default MinaEndpointBuilderFactory.MinaEndpointBuilderbasic()default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilderdisconnectOnNoReply(boolean disconnectOnNoReply)If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back.default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilderdisconnectOnNoReply(String disconnectOnNoReply)If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back.default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuildermaximumPoolSize(int maximumPoolSize)Number of worker threads in the worker pool for TCP and UDP.default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuildermaximumPoolSize(String maximumPoolSize)Number of worker threads in the worker pool for TCP and UDP.default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilderorderedThreadPoolExecutor(boolean orderedThreadPoolExecutor)Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilderorderedThreadPoolExecutor(String orderedThreadPoolExecutor)Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuildertransferExchange(boolean transferExchange)Only used for TCP.default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuildertransferExchange(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.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
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 Detail
-
basic
default MinaEndpointBuilderFactory.MinaEndpointBuilder basic()
- Specified by:
basicin interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
basicin 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:
disconnectOnNoReplyin interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
disconnectOnNoReplyin 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:
disconnectOnNoReplyin interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
disconnectOnNoReplyin interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder- Parameters:
disconnectOnNoReply- the value to set- Returns:
- the dsl builder
-
maximumPoolSize
default MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder maximumPoolSize(int 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:
maximumPoolSizein interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
maximumPoolSizein 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:
maximumPoolSizein interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
maximumPoolSizein 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:
orderedThreadPoolExecutorin interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
orderedThreadPoolExecutorin 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:
orderedThreadPoolExecutorin interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
orderedThreadPoolExecutorin 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:
transferExchangein interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
transferExchangein 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:
transferExchangein interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointConsumerBuilder- Specified by:
transferExchangein interfaceMinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder- Parameters:
transferExchange- the value to set- Returns:
- the dsl builder
-
-