Versions Compared

Key

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

The Iterate Mediator implements an the Splitter enterprise integration pattern similar to the Clone Mediator 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, in the same way as in the Clone Mediator. 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.

Info

The responses will not necessarily be aggregated in the same order that the requests were sent, even if the sequential attribute is set to true.

...