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 TypeexecutorService(String executorService)Setting the executor service for executingTypeexecutorService(ExecutorService executorService)Setting the executor service for executingExecutorServicegetExecutorServiceBean()Gets the executor service for executingStringgetExecutorServiceRef()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 aExecutorServiceto 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
-
-