Tuesday, August 15, 2023

ForEach Vs Parallel ForEach | Flows

 ForEach:

  • It processes message sequentially
  • It stops execution, when error occured
  • And, it doesn't modify actual payload


Parallel ForEach

  • It processes the messages in parallel
  • It execute all routes before raising error of type MULE:COMPOSITE_ROUTING
  • The output is a collection of the output messages from each route

Source Code:

Source: https://docs.mulesoft.com/

No comments:

Post a Comment