Package org.apache.camel.model
Interface ExecutorServiceAwareDefinition<Type extends ProcessorDefinition<?>>
- All Known Implementing Classes:
AggregateDefinition
,DelayDefinition
,MulticastDefinition
,OnCompletionDefinition
,RecipientListDefinition
,SplitDefinition
,ThreadsDefinition
,ThrottleDefinition
,WireTapDefinition
public interface ExecutorServiceAwareDefinition<Type extends ProcessorDefinition<?>>
Enables definitions to support concurrency using
ExecutorService
-
Method Summary
Modifier and TypeMethodDescriptionexecutorService
(String executorService) Setting the executor service for executingexecutorService
(ExecutorService executorService) Setting the executor service for executingGets the executor service for executingGets a reference id to lookup the executor service from the registry
-
Method Details
-
executorService
Setting the executor service for executing- Parameters:
executorService
- the executor service- Returns:
- the builder
-
executorService
Setting the executor service for executing- Parameters:
executorService
- reference for aExecutorService
to lookup in theRegistry
- Returns:
- the builder
-
getExecutorServiceBean
ExecutorService getExecutorServiceBean()Gets the executor service for executing -
getExecutorServiceRef
String getExecutorServiceRef()Gets a reference id to lookup the executor service from the registry
-