Interface DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder

All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
All Known Subinterfaces:
DataSetEndpointBuilderFactory.DataSetEndpointBuilder
Enclosing interface:
DataSetEndpointBuilderFactory

public static interface DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Dataset component.
  • Method Details

    • advanced

    • dataSetIndex

      Controls the behaviour of the CamelDataSetIndex header. off (consumer) the header will not be set. strict (consumer) the header will be set. lenient (consumer) the header will be set. off (producer) the header value will not be verified, and will not be set if it is not present. strict (producer) the header value must be present and will be verified. lenient (producer) the header value will be verified if it is present, and will be set if it is not present. The option is a: java.lang.String type. Default: lenient Group: common
      Parameters:
      dataSetIndex - the value to set
      Returns:
      the dsl builder
    • initialDelay

      default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder initialDelay(long initialDelay)
      Time period in millis to wait before starting sending messages. The option is a: long type. Default: 1000 Group: consumer
      Parameters:
      initialDelay - the value to set
      Returns:
      the dsl builder
    • initialDelay

      Time period in millis to wait before starting sending messages. The option will be converted to a long type. Default: 1000 Group: consumer
      Parameters:
      initialDelay - the value to set
      Returns:
      the dsl builder
    • minRate

      Wait until the DataSet contains at least this number of messages. The option is a: int type. Default: 0 Group: consumer
      Parameters:
      minRate - the value to set
      Returns:
      the dsl builder
    • minRate

      Wait until the DataSet contains at least this number of messages. The option will be converted to a int type. Default: 0 Group: consumer
      Parameters:
      minRate - the value to set
      Returns:
      the dsl builder
    • preloadSize

      default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder preloadSize(long preloadSize)
      Sets how many messages should be preloaded (sent) before the route completes its initialization. The option is a: long type. Default: 0 Group: consumer
      Parameters:
      preloadSize - the value to set
      Returns:
      the dsl builder
    • preloadSize

      Sets how many messages should be preloaded (sent) before the route completes its initialization. The option will be converted to a long type. Default: 0 Group: consumer
      Parameters:
      preloadSize - the value to set
      Returns:
      the dsl builder
    • produceDelay

      default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder produceDelay(long produceDelay)
      Allows a delay to be specified which causes a delay when a message is sent by the consumer (to simulate slow processing). The option is a: long type. Default: 3 Group: consumer
      Parameters:
      produceDelay - the value to set
      Returns:
      the dsl builder
    • produceDelay

      Allows a delay to be specified which causes a delay when a message is sent by the consumer (to simulate slow processing). The option will be converted to a long type. Default: 3 Group: consumer
      Parameters:
      produceDelay - the value to set
      Returns:
      the dsl builder