Interface MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
MinaEndpointBuilderFactory.AdvancedMinaEndpointBuilder
- Enclosing interface:
- MinaEndpointBuilderFactory
public static interface MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Mina component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MinaEndpointBuilderFactory.MinaEndpointProducerBuilder
basic()
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
cachedAddress(boolean cachedAddress)
Whether to create the InetAddress once and reuse.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
cachedAddress(String cachedAddress)
Whether to create the InetAddress once and reuse.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
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 MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
lazySessionCreation(String 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 MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
maximumPoolSize(int maximumPoolSize)
Number of worker threads in the worker pool for TCP and UDP.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
maximumPoolSize(String maximumPoolSize)
Number of worker threads in the worker pool for TCP and UDP.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
orderedThreadPoolExecutor(boolean orderedThreadPoolExecutor)
Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
orderedThreadPoolExecutor(String orderedThreadPoolExecutor)
Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
transferExchange(boolean transferExchange)
Only used for TCP.default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder
transferExchange(String transferExchange)
Only used for TCP.
-
-
-
Method Detail
-
basic
default MinaEndpointBuilderFactory.MinaEndpointProducerBuilder basic()
-
cachedAddress
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder cachedAddress(boolean cachedAddress)
Whether to create the InetAddress once and reuse. Setting this to false allows to pickup DNS changes in the network. The option is a:boolean
type. Default: true Group: producer (advanced)
-
cachedAddress
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder cachedAddress(String cachedAddress)
Whether to create the InetAddress once and reuse. Setting this to false allows to pickup DNS changes in the network. The option will be converted to aboolean
type. Default: true Group: producer (advanced)
-
lazySessionCreation
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder 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. The option is a:boolean
type. Default: true Group: producer (advanced)
-
lazySessionCreation
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder lazySessionCreation(String lazySessionCreation)
Sessions can be lazily created to avoid exceptions, if the remote server is not up and running when the Camel producer is started. The option will be converted to aboolean
type. Default: true Group: producer (advanced)
-
basicPropertyBinding
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:boolean
type. Default: false Group: advanced
-
basicPropertyBinding
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option will be converted to aboolean
type. Default: false Group: advanced
-
maximumPoolSize
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder maximumPoolSize(int maximumPoolSize)
Number of worker threads in the worker pool for TCP and UDP. The option is a:int
type. Default: 16 Group: advanced
-
maximumPoolSize
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder maximumPoolSize(String maximumPoolSize)
Number of worker threads in the worker pool for TCP and UDP. The option will be converted to aint
type. Default: 16 Group: advanced
-
orderedThreadPoolExecutor
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder orderedThreadPoolExecutor(boolean orderedThreadPoolExecutor)
Whether to use ordered thread pool, to ensure events are processed orderly on the same channel. The option is a:boolean
type. Default: true Group: advanced
-
orderedThreadPoolExecutor
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder 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 aboolean
type. Default: true Group: advanced
-
synchronous
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: false Group: advanced
-
synchronous
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: false Group: advanced
-
transferExchange
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder 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:boolean
type. Default: false Group: advanced
-
transferExchange
default MinaEndpointBuilderFactory.AdvancedMinaEndpointProducerBuilder 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 aboolean
type. Default: false Group: advanced
-
-