org.springframework.messaging.MessageChannel .
| Modifier and Type | Field and Description |
|---|---|
| private TaskExecutor | |
| private final List | |
| private TaskExecutorRegistration |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ChannelRegistration | executor(TaskExecutor
the task executor to use taskExecutor)Configure the given |
| protected List | |
| protected TaskExecutor | Returns: the task executor to usea supplier of a fallback task executor in case none is configured fallback, Consumer<TaskExecutor> further customizations customizer)Return the |
| protected boolean | |
| protected boolean | |
| public ChannelRegistration | interceptors(ChannelInterceptor... interceptors)
Configure the given interceptors for this message channel, adding them to the channel's current list of interceptors. |
| public TaskExecutorRegistration | |
| public TaskExecutorRegistration | taskExecutor(ThreadPoolTaskExecutor
the executor to use (or taskExecutor)null for a default executor)
Deprecated
as a consequence of
Configure the thread pool backing this message channel using a custom
ThreadPoolTaskExecutor.
ThreadPoolTaskExecutor being deprecated.
|
| executor | back to summary |
|---|---|
| private TaskExecutor executor
| |
| interceptors | back to summary |
|---|---|
| private final List<ChannelInterceptor> interceptors | |
| registration | back to summary |
|---|---|
| private TaskExecutorRegistration registration
| |
| ChannelRegistration | back to summary |
|---|---|
| public ChannelRegistration() | |
| executor | back to summary |
|---|---|
| public ChannelRegistration executor(TaskExecutor taskExecutor) Configure the given
| |
| getInterceptors | back to summary |
|---|---|
| protected List | |
| getTaskExecutor | back to summary |
|---|---|
| protected TaskExecutor getTaskExecutor(Supplier<TaskExecutor> fallback, Consumer<TaskExecutor> customizer) Return the
If the
| |
| hasInterceptors | back to summary |
|---|---|
| protected boolean hasInterceptors() | |
| hasTaskExecutor | back to summary |
|---|---|
| protected boolean hasTaskExecutor() | |
| interceptors | back to summary |
|---|---|
| public ChannelRegistration interceptors(ChannelInterceptor... interceptors) Configure the given interceptors for this message channel, adding them to the channel's current list of interceptors.
| |
| taskExecutor | back to summary |
|---|---|
| public TaskExecutorRegistration taskExecutor() Configure the thread pool backing this message channel. | |
| taskExecutor | back to summary |
|---|---|
| public TaskExecutorRegistration taskExecutor(ThreadPoolTaskExecutor taskExecutor)
Deprecated as a consequence of Configure the thread pool backing this message channel using a custom ThreadPoolTaskExecutor.
| |