org.apache.camel.model
Interface ExecutorServiceAwareDefinition<Type extends ProcessorDefinition<?>>

All Superinterfaces:
ExecutorServiceAware
All Known Implementing Classes:
AggregateDefinition, DelayDefinition, MulticastDefinition, OnCompletionDefinition, RecipientListDefinition, SplitDefinition, ThreadsDefinition, ThrottleDefinition, WireTapDefinition

public interface ExecutorServiceAwareDefinition<Type extends ProcessorDefinition<?>>
extends ExecutorServiceAware

Enables definitions to support concurrency using ExecutorService

Version:

Method Summary
 Type executorService(ExecutorService executorService)
          Setting the executor service for executing
 Type executorServiceRef(String executorServiceRef)
          Setting the executor service for executing
 
Methods inherited from interface org.apache.camel.ExecutorServiceAware
getExecutorService, getExecutorServiceRef, setExecutorService, setExecutorServiceRef
 

Method Detail

executorService

Type executorService(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 a ExecutorService to lookup in the Registry
Returns:
the builder


Apache CAMEL