Reputation: 444
I want my application to run DataFlow task after some condition is satisfied (some event raises). Is there any way to run that from code:
without Spring DataFlow shell, just start all from my code (register app in DataFlow, etc)?
Upvotes: 0
Views: 110
Reputation: 5651
You can take advantage of "stream-launching-a-task" feature to automate the launching of any arbitrary short-lived task application.
SCDF also offers REST-API and an REST-template that can be used for programmatic orchestration as opposed to the DSL/Shell.
Check out this example orchestration for mode details
Upvotes: 1