Is there a correct/preferred way to send a message from a Task to a Destination using Spring Cloud Data Flow?
We have an existing stream with destinations, and would like a scheduled task to also feed messages into the stream via one of the destinations.
Options we have considered so far:
I don't see any real issues with #2 but you could also configure an output binding and use the StreamBridge
to send to it.
Sending arbitrary data to an output (e.g. Foreign event-driven sources)