I need to achieve content based routing and filtering using Spring Cloud Dataflow.
For e.g. If the input to my processor
is a String. If the String contains say xyz
I need to pass it to component/step X
in my Spring Cloud Stream; otherwise I want it to go to component/step Y
of my Stream.
I know router-sink
can be used to achieve the same; however I wanted to use the routing\decision making as a processor
; because my decision making apps are the processors in my Stream.
What is the best way to achieve the same?