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
All Methods Instance Methods Default Methods Modifier and Type Method Description default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder
basic()
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
connectTimeout(int connectTimeout)
Timeout (in milliseconds) for establishing for a TCP connection TCP Client only.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
connectTimeout(String connectTimeout)
Timeout (in milliseconds) for establishing for a TCP connection TCP Client only.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
idleTimeout(Integer idleTimeout)
The approximate idle time allowed before the Client TCP Connection will be reset.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
idleTimeout(String idleTimeout)
The approximate idle time allowed before the Client TCP Connection will be reset.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
idleTimeoutStrategy(String idleTimeoutStrategy)
decide what action to take when idle timeout occurs.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
idleTimeoutStrategy(MllpEndpointBuilderFactory.MllpIdleTimeoutStrategy idleTimeoutStrategy)
decide what action to take when idle timeout occurs.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
keepAlive(Boolean keepAlive)
Enable/disable the SO_KEEPALIVE socket option.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
keepAlive(String keepAlive)
Enable/disable the SO_KEEPALIVE socket option.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
readTimeout(int readTimeout)
The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
readTimeout(String readTimeout)
The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
receiveBufferSize(Integer receiveBufferSize)
Sets the SO_RCVBUF option to the specified value (in bytes).default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
receiveBufferSize(String receiveBufferSize)
Sets the SO_RCVBUF option to the specified value (in bytes).default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
receiveTimeout(int receiveTimeout)
The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
receiveTimeout(String receiveTimeout)
The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
sendBufferSize(Integer sendBufferSize)
Sets the SO_SNDBUF option to the specified value (in bytes).default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
sendBufferSize(String sendBufferSize)
Sets the SO_SNDBUF option to the specified value (in bytes).default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
tcpNoDelay(Boolean tcpNoDelay)
Enable/disable the TCP_NODELAY socket option.default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder
tcpNoDelay(String tcpNoDelay)
Enable/disable the TCP_NODELAY socket option.
-
-
-
Method Detail
-
basic
default MllpEndpointBuilderFactory.MllpEndpointProducerBuilder 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(MllpEndpointBuilderFactory.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
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder keepAlive(Boolean 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
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder keepAlive(String 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
-
readTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointProducerBuilder readTimeout(int 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
-
-