spring-framework / org.springframework.messaging.simp.config / TaskExecutorRegistration / <init>

<init>

TaskExecutorRegistration()

Create a new TaskExecutorRegistration for a default ThreadPoolTaskExecutor.

TaskExecutorRegistration(taskExecutor: ThreadPoolTaskExecutor)

Create a new TaskExecutorRegistration for a given ThreadPoolTaskExecutor.

Parameters

taskExecutor - the executor to use