public class ChannelRegistration extends Object
MessageChannel
.Constructor and Description |
---|
ChannelRegistration() |
Modifier and Type | Method and Description |
---|---|
protected List<ChannelInterceptor> |
getInterceptors() |
protected TaskExecutorRegistration |
getOrCreateTaskExecRegistration() |
protected TaskExecutorRegistration |
getTaskExecRegistration() |
protected boolean |
hasInterceptors() |
protected boolean |
hasTaskExecutor() |
ChannelRegistration |
setInterceptors(ChannelInterceptor... interceptors)
Configure interceptors for the message channel.
|
TaskExecutorRegistration |
taskExecutor()
Configure the thread pool backing this message channel.
|
TaskExecutorRegistration |
taskExecutor(ThreadPoolTaskExecutor taskExecutor)
Configure the thread pool backing this message channel using a custom
ThreadPoolTaskExecutor.
|
public TaskExecutorRegistration taskExecutor()
public TaskExecutorRegistration taskExecutor(ThreadPoolTaskExecutor taskExecutor)
public ChannelRegistration setInterceptors(ChannelInterceptor... interceptors)
protected boolean hasTaskExecutor()
protected TaskExecutorRegistration getTaskExecRegistration()
protected TaskExecutorRegistration getOrCreateTaskExecRegistration()
protected boolean hasInterceptors()
protected List<ChannelInterceptor> getInterceptors()