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.EndpointConsumerBuilderBuilder for endpoint consumers for the Dataset component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DataSetEndpointBuilderFactory.AdvancedDataSetEndpointConsumerBuilderadvanced()default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderdataSetIndex(String dataSetIndex)Controls the behaviour of the CamelDataSetIndex header.default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderinitialDelay(long initialDelay)Time period in millis to wait before starting sending messages.default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderinitialDelay(String initialDelay)Time period in millis to wait before starting sending messages.default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderminRate(int minRate)Wait until the DataSet contains at least this number of messages.default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderminRate(String minRate)Wait until the DataSet contains at least this number of messages.default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderpreloadSize(long preloadSize)Sets how many messages should be preloaded (sent) before the route completes its initialization.default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderpreloadSize(String preloadSize)Sets how many messages should be preloaded (sent) before the route completes its initialization.default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderproduceDelay(long produceDelay)Allows a delay to be specified which causes a delay when a message is sent by the consumer (to simulate slow processing).default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilderproduceDelay(String produceDelay)Allows a delay to be specified which causes a delay when a message is sent by the consumer (to simulate slow processing).
-
-
-
Method Detail
-
advanced
default DataSetEndpointBuilderFactory.AdvancedDataSetEndpointConsumerBuilder advanced()
-
dataSetIndex
default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder dataSetIndex(String dataSetIndex)
Controls the behaviour of the CamelDataSetIndex header. For Consumers: - off = the header will not be set - strict/lenient = the header will be set For Producers: - off = the header value will not be verified, and will not be set if it is not present = strict = the header value must be present and will be verified = lenient = the header value will be verified if it is present, and will be set if it is not present. The option is a: <code>java.lang.String</code> 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: <code>long</code> type. Default: 1000 Group: consumer- Parameters:
initialDelay- the value to set- Returns:
- the dsl builder
-
initialDelay
default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder initialDelay(String initialDelay)
Time period in millis to wait before starting sending messages. The option will be converted to a <code>long</code> type. Default: 1000 Group: consumer- Parameters:
initialDelay- the value to set- Returns:
- the dsl builder
-
minRate
default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder minRate(int minRate)
Wait until the DataSet contains at least this number of messages. The option is a: <code>int</code> type. Default: 0 Group: consumer- Parameters:
minRate- the value to set- Returns:
- the dsl builder
-
minRate
default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder minRate(String minRate)
Wait until the DataSet contains at least this number of messages. The option will be converted to a <code>int</code> 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: <code>long</code> type. Default: 0 Group: consumer- Parameters:
preloadSize- the value to set- Returns:
- the dsl builder
-
preloadSize
default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder preloadSize(String preloadSize)
Sets how many messages should be preloaded (sent) before the route completes its initialization. The option will be converted to a <code>long</code> 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: <code>long</code> type. Default: 3 Group: consumer- Parameters:
produceDelay- the value to set- Returns:
- the dsl builder
-
produceDelay
default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder produceDelay(String 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 <code>long</code> type. Default: 3 Group: consumer- Parameters:
produceDelay- the value to set- Returns:
- the dsl builder
-
-