Route on an exit code
The process plugin can send a message tosuccess or failure depending on the command’s exit code. Set failureMode to CONTINUE so a non-zero exit is routed instead of failing the node.
Route on an HTTP status
The HTTP plugin does the same for the response status withrouteByStatus:
success; an error status goes to failure.
Branch on an expression
TheBRANCH plugin evaluates cases against the message and sends it to the port named by the first matching case.
Filter
FILTER passes only the messages that match a condition and drops the rest:
Validate and reject
VALIDATE checks required fields and types. Messages that pass continue; messages that fail go to the invalid port, where you can send them to a report or a dead-letter node.
Fan out to several recipients
RECIPIENT_LIST sends one message to several recipients, optionally in parallel. Each recipient is a port:
Route failures
WithonError: ROUTE in a node’s engine object, a message that fails all its attempts leaves on the error port with its failure details. See Failure handling.