Interface StubEndpointBuilderFactory.StubEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
StubEndpointBuilderFactory.StubEndpointBuilder
- Enclosing interface:
StubEndpointBuilderFactory
public static interface StubEndpointBuilderFactory.StubEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Stub component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
concurrentConsumers
(int concurrentConsumers) Number of concurrent threads processing exchanges.concurrentConsumers
(String concurrentConsumers) Number of concurrent threads processing exchanges.size
(int size) The maximum capacity of the SEDA queue (i.e., the number of messages it can hold).The maximum capacity of the SEDA queue (i.e., the number of messages it can hold).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
-
size
The maximum capacity of the SEDA queue (i.e., the number of messages it can hold). Will by default use the defaultSize set on the SEDA component. The option is a:int
type. Default: 1000 Group: common- Parameters:
size
- the value to set- Returns:
- the dsl builder
-
size
The maximum capacity of the SEDA queue (i.e., the number of messages it can hold). Will by default use the defaultSize set on the SEDA component. The option will be converted to aint
type. Default: 1000 Group: common- Parameters:
size
- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default StubEndpointBuilderFactory.StubEndpointConsumerBuilder concurrentConsumers(int concurrentConsumers) Number of concurrent threads processing exchanges. The option is a:int
type. Default: 1 Group: consumer- Parameters:
concurrentConsumers
- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default StubEndpointBuilderFactory.StubEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers) Number of concurrent threads processing exchanges. The option will be converted to aint
type. Default: 1 Group: consumer- Parameters:
concurrentConsumers
- the value to set- Returns:
- the dsl builder
-