Package org.apache.camel.model
Interface ExecutorServiceAwareDefinition<Type extends ProcessorDefinition<?>>
-
- All Superinterfaces:
org.apache.camel.ExecutorServiceAware
- All Known Implementing Classes:
AggregateDefinition
,DelayDefinition
,MulticastDefinition
,OnCompletionDefinition
,RecipientListDefinition
,SplitDefinition
,ThreadsDefinition
,ThrottleDefinition
,WireTapDefinition
public interface ExecutorServiceAwareDefinition<Type extends ProcessorDefinition<?>> extends org.apache.camel.ExecutorServiceAware
Enables definitions to support concurrency usingExecutorService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Type
executorService(ExecutorService executorService)
Setting the executor service for executingdefault Type
executorService(Supplier<ExecutorService> executorService)
Setting the executor service for executingType
executorServiceRef(String executorServiceRef)
Setting the executor service for executing
-
-
-
Method Detail
-
executorService
Type executorService(ExecutorService executorService)
Setting the executor service for executing- Parameters:
executorService
- the executor service- Returns:
- the builder
-
executorService
default Type executorService(Supplier<ExecutorService> executorService)
Setting the executor service for executing- Parameters:
executorService
- the executor service- Returns:
- the builder
-
executorServiceRef
Type executorServiceRef(String executorServiceRef)
Setting the executor service for executing- Parameters:
executorServiceRef
- reference for aExecutorService
to lookup in theRegistry
- Returns:
- the builder
-
-