The Loopback Mediator moves the message from the In flow to the Out flow. All configuration in the In flow that appears after the Loopback mediator is skipped.
The loopback token refers to a <
loopback> element, which is used to skip the rest of the In flow and move the message to the Out flow:
As with other mediators, after adding the Loopback mediator to a sequence, you can click its up and down arrows to move its location in the sequence.
Following is a main sequence configuration with two payload factories. Let's assume you only want to use the first factory but need to keep the second factory in the configuration for future reference. To skip the second factory, add the Loopback mediator after the first factory. This configuration will cause the message to be processed with the first payload factory and then immediately move to the Out flow, skipping the second payload factory in the In flow.