This operator can be used to route the elements in the stream to different further processing operators, depending on the predicate.

Parameter

Example

route({predicates=['price > 200', 'price > 300', 'price > 400']}, input)