Class TaskLauncherSink
java.lang.Object
org.springframework.cloud.task.launcher.TaskLauncherSink
A sink stream application that launches a tasks.
- Author:
- Glenn Renfro
-
Field Summary
Modifier and TypeFieldDescriptionorg.springframework.cloud.deployer.spi.task.TaskLauncher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConsumer<org.springframework.messaging.Message<TaskLaunchRequest>>
Launches a task upon the receipt of a valid TaskLaunchRequest.
-
Field Details
-
taskLauncher
@Autowired public org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher
-
-
Constructor Details
-
TaskLauncherSink
public TaskLauncherSink()
-
-
Method Details
-
taskLauncherSink
Launches a task upon the receipt of a valid TaskLaunchRequest.- Returns:
- the
Consumer
that will retrieve messages from binder.
-