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 Summary
Modifier and TypeMethodDescriptionadvanced()
dataSetIndex
(String dataSetIndex) Controls the behaviour of the CamelDataSetIndex header.initialDelay
(long initialDelay) Time period in millis to wait before starting sending messages.initialDelay
(String initialDelay) Time period in millis to wait before starting sending messages.minRate
(int minRate) Wait until the DataSet contains at least this number of messages.Wait until the DataSet contains at least this number of messages.preloadSize
(long preloadSize) Sets how many messages should be preloaded (sent) before the route completes its initialization.preloadSize
(String preloadSize) Sets how many messages should be preloaded (sent) before the route completes its initialization.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).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).Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
dataSetIndex
default DataSetEndpointBuilderFactory.DataSetEndpointConsumerBuilder dataSetIndex(String 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: <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
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
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
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
-