Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Iterate Mediator implements the Splitter enterprise integration pattern and splits the message into a number of different messages derived from the parent message by finding matching elements for the XPath expression specified. New messages are created for each and every matching element and processed in parallel (default behavior) using either the specified sequence or endpoint. Created messages can also be processed sequentially by setting the optional sequential attribute to true. The original message can be continued or dropped depending on the boolean value of the optional continueParent attribute. The Iterate mediator is similar to the Clone mediator, with the difference being that the Iterate mediator splits a message into different parts, whereas the Clone mediator makes multiple identical copies of the message.

...

In this scenario, the Iterate Mediator splits the messages into parts and processes them asynchronously. Excerpt

hiddentrue
Description of the Iterate Mediator in WSO2 ESB.See also Splitting Messages into Parts and Process in Parallel (Iterate).