Class TaskLauncherSink

java.lang.Object
org.springframework.cloud.task.launcher.TaskLauncherSink

@Deprecated public class TaskLauncherSink extends Object
Deprecated.
This feature is now end-of-life and will be removed in a future release. No replacement is planned. Please migrate away from using this functionality.
A sink stream application that launches a tasks.
Author:
Glenn Renfro
  • Field Details

    • taskLauncher

      @Autowired public org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher
      Deprecated.
  • Constructor Details

    • TaskLauncherSink

      public TaskLauncherSink()
      Deprecated.
  • Method Details

    • taskLauncherSink

      @Bean public Consumer<org.springframework.messaging.Message<TaskLaunchRequest>> taskLauncherSink()
      Deprecated.
      Launches a task upon the receipt of a valid TaskLaunchRequest.
      Returns:
      the Consumer that will retrieve messages from binder.