Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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

Parameter

  • predicates: A list of predicates
  • overlappingPredicates: If set to true, all predicates are evaluated and for each predicate evaluated to true, the element will be send. Default is false and will only send the element when the first element evaluates to true.

Example

Code Block
themeEclipse
languagejavascript
titleRoute Operator
linenumberstrue
route({predicates=['price > 200', 'price > 300', 'price > 400']}, input)