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 usingExecutorService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
executorService(String executorService)
Setting the executor service for executingType
executorService(ExecutorService executorService)
Setting the executor service for executingExecutorService
getExecutorServiceBean()
Gets the executor service for executingString
getExecutorServiceRef()
Gets a reference id to lookup the executor service from the registry
-
-
-
Method Detail
-
executorService
Type executorService(ExecutorService executorService)
Setting the executor service for executing- Parameters:
executorService
- the executor service- Returns:
- the builder
-
executorService
Type executorService(String 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
-
-