Interface MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
MllpEndpointBuilderFactory.AdvancedMllpEndpointBuilder
- Enclosing interface:
- MllpEndpointBuilderFactory
public static interface MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the MLLP component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
connectTimeout
(int connectTimeout) Timeout (in milliseconds) for establishing for a TCP connection TCP Client only.connectTimeout
(String connectTimeout) Timeout (in milliseconds) for establishing for a TCP connection TCP Client only.idleTimeout
(Integer idleTimeout) The approximate idle time allowed before the Client TCP Connection will be reset.idleTimeout
(String idleTimeout) The approximate idle time allowed before the Client TCP Connection will be reset.idleTimeoutStrategy
(String idleTimeoutStrategy) decide what action to take when idle timeout occurs.idleTimeoutStrategy
(org.apache.camel.component.mllp.MllpIdleTimeoutStrategy idleTimeoutStrategy) decide what action to take when idle timeout occurs.Enable/disable the SO_KEEPALIVE socket option.Enable/disable the SO_KEEPALIVE socket option.lazyStartProducer
(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).lazyStartProducer
(String lazyStartProducer) Whether the producer should be started lazy (on the first message).maxBufferSize
(int maxBufferSize) Maximum buffer size used when receiving or sending data over the wire.maxBufferSize
(String maxBufferSize) Maximum buffer size used when receiving or sending data over the wire.minBufferSize
(int minBufferSize) Minimum buffer size used when receiving or sending data over the wire.minBufferSize
(String minBufferSize) Minimum buffer size used when receiving or sending data over the wire.readTimeout
(int readTimeout) The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received.readTimeout
(String readTimeout) The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received.receiveBufferSize
(Integer receiveBufferSize) Sets the SO_RCVBUF option to the specified value (in bytes).receiveBufferSize
(String receiveBufferSize) Sets the SO_RCVBUF option to the specified value (in bytes).receiveTimeout
(int receiveTimeout) The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame.receiveTimeout
(String receiveTimeout) The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame.sendBufferSize
(Integer sendBufferSize) Sets the SO_SNDBUF option to the specified value (in bytes).sendBufferSize
(String sendBufferSize) Sets the SO_SNDBUF option to the specified value (in bytes).tcpNoDelay
(Boolean tcpNoDelay) Enable/disable the TCP_NODELAY socket option.tcpNoDelay
(String tcpNoDelay) Enable/disable the TCP_NODELAY socket option.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
-
Method Details
-
basic
-
connectTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder connectTimeout(int connectTimeout) Timeout (in milliseconds) for establishing for a TCP connection TCP Client only. The option is a: <code>int</code> type. Default: 30000 Group: producer- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
connectTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder connectTimeout(String connectTimeout) Timeout (in milliseconds) for establishing for a TCP connection TCP Client only. The option will be converted to a <code>int</code> type. Default: 30000 Group: producer- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
idleTimeoutStrategy
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder idleTimeoutStrategy(org.apache.camel.component.mllp.MllpIdleTimeoutStrategy idleTimeoutStrategy) decide what action to take when idle timeout occurs. Possible values are : RESET: set SO_LINGER to 0 and reset the socket CLOSE: close the socket gracefully default is RESET. The option is a: <code>org.apache.camel.component.mllp.MllpIdleTimeoutStrategy</code> type. Default: RESET Group: producer- Parameters:
idleTimeoutStrategy
- the value to set- Returns:
- the dsl builder
-
idleTimeoutStrategy
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder idleTimeoutStrategy(String idleTimeoutStrategy) decide what action to take when idle timeout occurs. Possible values are : RESET: set SO_LINGER to 0 and reset the socket CLOSE: close the socket gracefully default is RESET. The option will be converted to a <code>org.apache.camel.component.mllp.MllpIdleTimeoutStrategy</code> type. Default: RESET Group: producer- Parameters:
idleTimeoutStrategy
- the value to set- Returns:
- the dsl builder
-
keepAlive
Enable/disable the SO_KEEPALIVE socket option. The option is a: <code>java.lang.Boolean</code> type. Default: true Group: producer- Parameters:
keepAlive
- the value to set- Returns:
- the dsl builder
-
keepAlive
Enable/disable the SO_KEEPALIVE socket option. The option will be converted to a <code>java.lang.Boolean</code> type. Default: true Group: producer- Parameters:
keepAlive
- the value to set- Returns:
- the dsl builder
-
tcpNoDelay
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder tcpNoDelay(Boolean tcpNoDelay) Enable/disable the TCP_NODELAY socket option. The option is a: <code>java.lang.Boolean</code> type. Default: true Group: producer- Parameters:
tcpNoDelay
- the value to set- Returns:
- the dsl builder
-
tcpNoDelay
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder tcpNoDelay(String tcpNoDelay) Enable/disable the TCP_NODELAY socket option. The option will be converted to a <code>java.lang.Boolean</code> type. Default: true Group: producer- Parameters:
tcpNoDelay
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder lazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
maxBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder maxBufferSize(int maxBufferSize) Maximum buffer size used when receiving or sending data over the wire. The option is a: <code>int</code> type. Default: 1073741824 Group: advanced- Parameters:
maxBufferSize
- the value to set- Returns:
- the dsl builder
-
maxBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder maxBufferSize(String maxBufferSize) Maximum buffer size used when receiving or sending data over the wire. The option will be converted to a <code>int</code> type. Default: 1073741824 Group: advanced- Parameters:
maxBufferSize
- the value to set- Returns:
- the dsl builder
-
minBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder minBufferSize(int minBufferSize) Minimum buffer size used when receiving or sending data over the wire. The option is a: <code>int</code> type. Default: 2048 Group: advanced- Parameters:
minBufferSize
- the value to set- Returns:
- the dsl builder
-
minBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder minBufferSize(String minBufferSize) Minimum buffer size used when receiving or sending data over the wire. The option will be converted to a <code>int</code> type. Default: 2048 Group: advanced- Parameters:
minBufferSize
- the value to set- Returns:
- the dsl builder
-
readTimeout
The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received. The option is a: <code>int</code> type. Default: 5000 Group: advanced- Parameters:
readTimeout
- the value to set- Returns:
- the dsl builder
-
readTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder readTimeout(String readTimeout) The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received. The option will be converted to a <code>int</code> type. Default: 5000 Group: advanced- Parameters:
readTimeout
- the value to set- Returns:
- the dsl builder
-
receiveBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder receiveBufferSize(Integer receiveBufferSize) Sets the SO_RCVBUF option to the specified value (in bytes). The option is a: <code>java.lang.Integer</code> type. Default: 8192 Group: advanced- Parameters:
receiveBufferSize
- the value to set- Returns:
- the dsl builder
-
receiveBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder receiveBufferSize(String receiveBufferSize) Sets the SO_RCVBUF option to the specified value (in bytes). The option will be converted to a <code>java.lang.Integer</code> type. Default: 8192 Group: advanced- Parameters:
receiveBufferSize
- the value to set- Returns:
- the dsl builder
-
receiveTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder receiveTimeout(int receiveTimeout) The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame. The option is a: <code>int</code> type. Default: 15000 Group: advanced- Parameters:
receiveTimeout
- the value to set- Returns:
- the dsl builder
-
receiveTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder receiveTimeout(String receiveTimeout) The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame. The option will be converted to a <code>int</code> type. Default: 15000 Group: advanced- Parameters:
receiveTimeout
- the value to set- Returns:
- the dsl builder
-
sendBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder sendBufferSize(Integer sendBufferSize) Sets the SO_SNDBUF option to the specified value (in bytes). The option is a: <code>java.lang.Integer</code> type. Default: 8192 Group: advanced- Parameters:
sendBufferSize
- the value to set- Returns:
- the dsl builder
-
sendBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder sendBufferSize(String sendBufferSize) Sets the SO_SNDBUF option to the specified value (in bytes). The option will be converted to a <code>java.lang.Integer</code> type. Default: 8192 Group: advanced- Parameters:
sendBufferSize
- the value to set- Returns:
- the dsl builder
-
idleTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder idleTimeout(Integer idleTimeout) The approximate idle time allowed before the Client TCP Connection will be reset. A null value or a value less than or equal to zero will disable the idle timeout. The option is a: <code>java.lang.Integer</code> type. Group: tcp- Parameters:
idleTimeout
- the value to set- Returns:
- the dsl builder
-
idleTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder idleTimeout(String idleTimeout) The approximate idle time allowed before the Client TCP Connection will be reset. A null value or a value less than or equal to zero will disable the idle timeout. The option will be converted to a <code>java.lang.Integer</code> type. Group: tcp- Parameters:
idleTimeout
- the value to set- Returns:
- the dsl builder
-