public interface ExecutorServiceAwareDefinition<Type extends ProcessorDefinition<?>> extends org.apache.camel.ExecutorServiceAware
ExecutorService
Modifier and Type | Method and Description |
---|---|
Type |
executorService(ExecutorService executorService)
Setting the executor service for executing
|
default Type |
executorService(Supplier<ExecutorService> executorService)
Setting the executor service for executing
|
Type |
executorServiceRef(String executorServiceRef)
Setting the executor service for executing
|
Type executorService(ExecutorService executorService)
executorService
- the executor servicedefault Type executorService(Supplier<ExecutorService> executorService)
executorService
- the executor serviceType executorServiceRef(String executorServiceRef)
executorServiceRef
- reference for a
ExecutorService
to lookup in the
Registry
Apache Camel