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 Details

    • basic

    • 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: consumer
      Parameters:
      acceptTimeout - the value to set
      Returns:
      the dsl builder
    • acceptTimeout

      Timeout (in milliseconds) while waiting for a TCP connection TCP Server Only. The option will be converted to a int type. Default: 60000 Group: consumer
      Parameters:
      acceptTimeout - the value to set
      Returns:
      the dsl builder
    • 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: consumer
      Parameters:
      backlog - the value to set
      Returns:
      the dsl builder
    • 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 a java.lang.Integer type. Default: 5 Group: consumer
      Parameters:
      backlog - the value to set
      Returns:
      the dsl builder
    • 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: consumer
      Parameters:
      bindRetryInterval - the value to set
      Returns:
      the dsl builder
    • 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 a int type. Default: 5000 Group: consumer
      Parameters:
      bindRetryInterval - the value to set
      Returns:
      the dsl builder
    • bindTimeout

      TCP Server Only - The number of milliseconds to retry binding to a server port. The option is a: int type. Default: 30000 Group: consumer
      Parameters:
      bindTimeout - the value to set
      Returns:
      the dsl builder
    • bindTimeout

      TCP Server Only - The number of milliseconds to retry binding to a server port. The option will be converted to a int type. Default: 30000 Group: consumer
      Parameters:
      bindTimeout - the value to set
      Returns:
      the dsl builder
    • 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: consumer
      Parameters:
      lenientBind - the value to set
      Returns:
      the dsl builder
    • 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 a boolean type. Default: false Group: consumer
      Parameters:
      lenientBind - the value to set
      Returns:
      the dsl builder
    • 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: consumer
      Parameters:
      maxConcurrentConsumers - the value to set
      Returns:
      the dsl builder
    • 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 a int type. Default: 5 Group: consumer
      Parameters:
      maxConcurrentConsumers - the value to set
      Returns:
      the dsl builder
    • reuseAddress

      Enable/disable the SO_REUSEADDR socket option. The option is a: java.lang.Boolean type. Default: false Group: consumer
      Parameters:
      reuseAddress - the value to set
      Returns:
      the dsl builder
    • reuseAddress

      Enable/disable the SO_REUSEADDR socket option. The option will be converted to a java.lang.Boolean type. Default: false Group: consumer
      Parameters:
      reuseAddress - the value to set
      Returns:
      the dsl builder
    • 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)
      Parameters:
      exceptionHandler - the value to set
      Returns:
      the dsl builder
    • 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 a org.apache.camel.spi.ExceptionHandler type. Group: consumer (advanced)
      Parameters:
      exceptionHandler - the value to set
      Returns:
      the dsl builder
    • 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)
      Parameters:
      exchangePattern - the value to set
      Returns:
      the dsl builder
    • exchangePattern

      Sets the exchange pattern when the consumer creates an exchange. The option will be converted to a org.apache.camel.ExchangePattern type. Default: InOut Group: consumer (advanced)
      Parameters:
      exchangePattern - the value to set
      Returns:
      the dsl builder
    • maxBufferSize

      default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder maxBufferSize(int maxBufferSize)
      Maximum buffer size used when receiving or sending data over the wire. The option is a: int type. Default: 1073741824 Group: advanced
      Parameters:
      maxBufferSize - the value to set
      Returns:
      the dsl builder
    • maxBufferSize

      Maximum buffer size used when receiving or sending data over the wire. The option will be converted to a int type. Default: 1073741824 Group: advanced
      Parameters:
      maxBufferSize - the value to set
      Returns:
      the dsl builder
    • minBufferSize

      default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder minBufferSize(int minBufferSize)
      Minimum buffer size used when receiving or sending data over the wire. The option is a: int type. Default: 2048 Group: advanced
      Parameters:
      minBufferSize - the value to set
      Returns:
      the dsl builder
    • minBufferSize

      Minimum buffer size used when receiving or sending data over the wire. The option will be converted to a int 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: int type. Default: 5000 Group: advanced
      Parameters:
      readTimeout - 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 will be converted to a int type. Default: 5000 Group: advanced
      Parameters:
      readTimeout - the value to set
      Returns:
      the dsl builder
    • 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: advanced
      Parameters:
      receiveBufferSize - the value to set
      Returns:
      the dsl builder
    • receiveBufferSize

      default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder receiveBufferSize(String receiveBufferSize)
      Sets the SO_RCVBUF option to the specified value (in bytes). The option will be converted to a java.lang.Integer type. Default: 8192 Group: advanced
      Parameters:
      receiveBufferSize - the value to set
      Returns:
      the dsl builder
    • 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: advanced
      Parameters:
      receiveTimeout - the value to set
      Returns:
      the dsl builder
    • receiveTimeout

      The SO_TIMEOUT value (in milliseconds) used when waiting for the start of an MLLP frame. The option will be converted to a int type. Default: 15000 Group: advanced
      Parameters:
      receiveTimeout - the value to set
      Returns:
      the dsl builder
    • sendBufferSize

      Sets the SO_SNDBUF option to the specified value (in bytes). The option is a: java.lang.Integer type. Default: 8192 Group: advanced
      Parameters:
      sendBufferSize - the value to set
      Returns:
      the dsl builder
    • sendBufferSize

      Sets the SO_SNDBUF option to the specified value (in bytes). The option will be converted to a java.lang.Integer type. Default: 8192 Group: advanced
      Parameters:
      sendBufferSize - the value to set
      Returns:
      the dsl builder
    • 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: tcp
      Parameters:
      idleTimeout - the value to set
      Returns:
      the dsl builder
    • 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 java.lang.Integer type. Group: tcp
      Parameters:
      idleTimeout - the value to set
      Returns:
      the dsl builder