reject_errored
Rejects messages that have failed their processing steps, resulting in nack behavior at the input level, otherwise sends them to a child output.
The routing of messages rejected by this output depends on the type of input it came from. For inputs that support propagating nacks upstream such as AMQP or NATS the message will be nacked. However, for inputs that are sequential such as files or Kafka the messages will simply be reprocessed from scratch.
Examples
The most straight forward use case for this output type is to nack messages that have failed their processing steps. In this example our mapping might fail, in which case the messages that failed are rejected and will be nacked by our input:
Another use case for this output is to send failed messages straight into a dead-letter queue. You use it within a fallback output that allows you to specify where these failed messages should go to next.