BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
12 / 81 · Module 6 — Mule Routing and Orchestration · filtered: interview← prev⊞ allnext →

6.32Batch processing vs For Each

Don't confuse Mule Batch Jobs with For Each.

For Each:

collection already in flow
      ↓
iterate over it

Batch processing:

large data processing workload
      ↓
records processed in stages
      ↓
better suited to substantial volumes

You'll see Mule Batch when processing:

large migrations
nightly imports
data synchronization

We'll touch it more in the bulk/async module.

For now:

small/normal collection logic
→ For Each

large ETL-style workload
→ consider Batch / Bulk API / async architecture