Interface MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
MllpEndpointBuilderFactory.AdvancedMllpEndpointBuilder
- Enclosing interface:
- MllpEndpointBuilderFactory
public static interface MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the MLLP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
acceptTimeout(int acceptTimeout)
Timeout (in milliseconds) while waiting for a TCP connection TCP Server Only.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
acceptTimeout(String acceptTimeout)
Timeout (in milliseconds) while waiting for a TCP connection TCP Server Only.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
backlog(Integer backlog)
The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
backlog(String backlog)
The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter.default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder
basic()
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
bindRetryInterval(int bindRetryInterval)
TCP Server Only - The number of milliseconds to wait between bind attempts.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
bindRetryInterval(String bindRetryInterval)
TCP Server Only - The number of milliseconds to wait between bind attempts.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
bindTimeout(int bindTimeout)
TCP Server Only - The number of milliseconds to retry binding to a server port.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
bindTimeout(String bindTimeout)
TCP Server Only - The number of milliseconds to retry binding to a server port.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
idleTimeout(Integer idleTimeout)
The approximate idle time allowed before the Client TCP Connection will be reset.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
idleTimeout(String idleTimeout)
The approximate idle time allowed before the Client TCP Connection will be reset.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
lenientBind(boolean lenientBind)
TCP Server Only - Allow the endpoint to start before the TCP ServerSocket is bound.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
lenientBind(String lenientBind)
TCP Server Only - Allow the endpoint to start before the TCP ServerSocket is bound.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
maxConcurrentConsumers(int maxConcurrentConsumers)
The maximum number of concurrent MLLP Consumer connections that will be allowed.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
maxConcurrentConsumers(String maxConcurrentConsumers)
The maximum number of concurrent MLLP Consumer connections that will be allowed.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
maxReceiveTimeouts(Integer maxReceiveTimeouts)
Deprecated.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
maxReceiveTimeouts(String maxReceiveTimeouts)
Deprecated.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
readTimeout(int readTimeout)
The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
readTimeout(String readTimeout)
The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
receiveBufferSize(Integer receiveBufferSize)
Sets the SO_RCVBUF option to the specified value (in bytes).default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
receiveBufferSize(String receiveBufferSize)
Sets the SO_RCVBUF option to the specified value (in bytes).default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
receiveTimeout(int receiveTimeout)
The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
receiveTimeout(String receiveTimeout)
The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
reuseAddress(Boolean reuseAddress)
Enable/disable the SO_REUSEADDR socket option.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
reuseAddress(String reuseAddress)
Enable/disable the SO_REUSEADDR socket option.default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
sendBufferSize(Integer sendBufferSize)
Sets the SO_SNDBUF option to the specified value (in bytes).default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
sendBufferSize(String sendBufferSize)
Sets the SO_SNDBUF option to the specified value (in bytes).default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used (this component only supports synchronous operations).default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used (this component only supports synchronous operations).
-
-
-
Method Detail
-
basic
default MllpEndpointBuilderFactory.MllpEndpointConsumerBuilder basic()
-
exceptionHandler
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:org.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exceptionHandler
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aorg.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exchangePattern
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a:org.apache.camel.ExchangePattern
type. Default: InOut Group: consumer (advanced)
-
exchangePattern
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to aorg.apache.camel.ExchangePattern
type. Default: InOut Group: consumer (advanced)
-
basicPropertyBinding
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder 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 MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder 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
-
synchronous
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used (this component only supports synchronous operations). The option is a:boolean
type. Default: true Group: advanced
-
synchronous
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used (this component only supports synchronous operations). The option will be converted to aboolean
type. Default: true Group: advanced
-
backlog
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder backlog(Integer backlog)
The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter. If a connection indication arrives when the queue is full, the connection is refused. The option is a:java.lang.Integer
type. Default: 5 Group: tcp
-
backlog
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder backlog(String backlog)
The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter. If a connection indication arrives when the queue is full, the connection is refused. The option will be converted to ajava.lang.Integer
type. Default: 5 Group: tcp
-
lenientBind
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder lenientBind(boolean lenientBind)
TCP Server Only - Allow the endpoint to start before the TCP ServerSocket is bound. In some environments, it may be desirable to allow the endpoint to start before the TCP ServerSocket is bound. The option is a:boolean
type. Default: false Group: tcp
-
lenientBind
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder lenientBind(String lenientBind)
TCP Server Only - Allow the endpoint to start before the TCP ServerSocket is bound. In some environments, it may be desirable to allow the endpoint to start before the TCP ServerSocket is bound. The option will be converted to aboolean
type. Default: false Group: tcp
-
maxConcurrentConsumers
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder maxConcurrentConsumers(int maxConcurrentConsumers)
The maximum number of concurrent MLLP Consumer connections that will be allowed. If a new connection is received and the maximum is number are already established, the new connection will be reset immediately. The option is a:int
type. Default: 5 Group: tcp
-
maxConcurrentConsumers
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder maxConcurrentConsumers(String maxConcurrentConsumers)
The maximum number of concurrent MLLP Consumer connections that will be allowed. If a new connection is received and the maximum is number are already established, the new connection will be reset immediately. The option will be converted to aint
type. Default: 5 Group: tcp
-
receiveBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder receiveBufferSize(Integer receiveBufferSize)
Sets the SO_RCVBUF option to the specified value (in bytes). The option is a:java.lang.Integer
type. Default: 8192 Group: tcp
-
receiveBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder receiveBufferSize(String receiveBufferSize)
Sets the SO_RCVBUF option to the specified value (in bytes). The option will be converted to ajava.lang.Integer
type. Default: 8192 Group: tcp
-
reuseAddress
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder reuseAddress(Boolean reuseAddress)
Enable/disable the SO_REUSEADDR socket option. The option is a:java.lang.Boolean
type. Default: false Group: tcp
-
reuseAddress
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder reuseAddress(String reuseAddress)
Enable/disable the SO_REUSEADDR socket option. The option will be converted to ajava.lang.Boolean
type. Default: false Group: tcp
-
sendBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder sendBufferSize(Integer sendBufferSize)
Sets the SO_SNDBUF option to the specified value (in bytes). The option is a:java.lang.Integer
type. Default: 8192 Group: tcp
-
sendBufferSize
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder sendBufferSize(String sendBufferSize)
Sets the SO_SNDBUF option to the specified value (in bytes). The option will be converted to ajava.lang.Integer
type. Default: 8192 Group: tcp
-
acceptTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder acceptTimeout(int acceptTimeout)
Timeout (in milliseconds) while waiting for a TCP connection TCP Server Only. The option is a:int
type. Default: 60000 Group: timeout
-
acceptTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder acceptTimeout(String acceptTimeout)
Timeout (in milliseconds) while waiting for a TCP connection TCP Server Only. The option will be converted to aint
type. Default: 60000 Group: timeout
-
bindRetryInterval
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder bindRetryInterval(int bindRetryInterval)
TCP Server Only - The number of milliseconds to wait between bind attempts. The option is a:int
type. Default: 5000 Group: timeout
-
bindRetryInterval
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder bindRetryInterval(String bindRetryInterval)
TCP Server Only - The number of milliseconds to wait between bind attempts. The option will be converted to aint
type. Default: 5000 Group: timeout
-
bindTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder bindTimeout(int bindTimeout)
TCP Server Only - The number of milliseconds to retry binding to a server port. The option is a:int
type. Default: 30000 Group: timeout
-
bindTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder bindTimeout(String bindTimeout)
TCP Server Only - The number of milliseconds to retry binding to a server port. The option will be converted to aint
type. Default: 30000 Group: timeout
-
idleTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder 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:java.lang.Integer
type. Group: timeout
-
idleTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder 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 ajava.lang.Integer
type. Group: timeout
-
maxReceiveTimeouts
@Deprecated default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder maxReceiveTimeouts(Integer maxReceiveTimeouts)
Deprecated.The maximum number of timeouts (specified by receiveTimeout) allowed before the TCP Connection will be reset. The option is a:java.lang.Integer
type. Group: timeout
-
maxReceiveTimeouts
@Deprecated default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder maxReceiveTimeouts(String maxReceiveTimeouts)
Deprecated.The maximum number of timeouts (specified by receiveTimeout) allowed before the TCP Connection will be reset. The option will be converted to ajava.lang.Integer
type. Group: timeout
-
readTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder readTimeout(int readTimeout)
The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP frame has been received. The option is a:int
type. Default: 5000 Group: timeout
-
readTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder 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 aint
type. Default: 5000 Group: timeout
-
receiveTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder receiveTimeout(int receiveTimeout)
The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame. The option is a:int
type. Default: 15000 Group: timeout
-
receiveTimeout
default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder 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 aint
type. Default: 15000 Group: timeout
-
-