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 Detail

      • acceptTimeout

        default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder acceptTimeout​(int acceptTimeout)
        Timeout (in milliseconds) while waiting for a TCP connection TCP Server Only. The option is a: <code>int</code> type. Default: 60000 Group: consumer
        Parameters:
        acceptTimeout - the value to set
        Returns:
        the dsl builder
      • 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 a <code>int</code> type. Default: 60000 Group: consumer
        Parameters:
        acceptTimeout - the value to set
        Returns:
        the dsl builder
      • 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: <code>java.lang.Integer</code> type. Default: 5 Group: consumer
        Parameters:
        backlog - the value to set
        Returns:
        the dsl builder
      • 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 a <code>java.lang.Integer</code> 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: <code>int</code> 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 <code>int</code> type. Default: 5000 Group: consumer
        Parameters:
        bindRetryInterval - the value to set
        Returns:
        the dsl builder
      • 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: <code>int</code> type. Default: 30000 Group: consumer
        Parameters:
        bindTimeout - the value to set
        Returns:
        the dsl builder
      • 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 a <code>int</code> 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: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        lenientBind - the value to set
        Returns:
        the dsl builder
      • 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 a <code>boolean</code> 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: <code>int</code> 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 <code>int</code> type. Default: 5 Group: consumer
        Parameters:
        maxConcurrentConsumers - the value to set
        Returns:
        the dsl builder
      • reuseAddress

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

        default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder exchangePattern​(String exchangePattern)
        Sets the exchange pattern when the consumer creates an exchange. The option will be converted to a <code>org.apache.camel.ExchangePattern</code> type. Default: InOut Group: consumer (advanced)
        Parameters:
        exchangePattern - the value to set
        Returns:
        the dsl builder
      • 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: <code>int</code> type. Default: 5000 Group: advanced
        Parameters:
        readTimeout - the value to set
        Returns:
        the dsl builder
      • 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 a <code>int</code> 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: <code>java.lang.Integer</code> 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 <code>java.lang.Integer</code> 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: <code>int</code> type. Default: 15000 Group: advanced
        Parameters:
        receiveTimeout - the value to set
        Returns:
        the dsl builder
      • 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 a <code>int</code> type. Default: 15000 Group: advanced
        Parameters:
        receiveTimeout - the value to set
        Returns:
        the dsl builder
      • sendBufferSize

        default MllpEndpointBuilderFactory.AdvancedMllpEndpointConsumerBuilder 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.AdvancedMllpEndpointConsumerBuilder 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.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: <code>java.lang.Integer</code> type. Group: tcp
        Parameters:
        idleTimeout - the value to set
        Returns:
        the dsl builder
      • 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 a <code>java.lang.Integer</code> type. Group: tcp
        Parameters:
        idleTimeout - the value to set
        Returns:
        the dsl builder