SlideShare a Scribd company logo
Scatter-Gather in Mule
Scatter-Gather is an important component in Mule that sends a request message to multiple targets
concurrently. At the end it collects the responses from all routes, and aggregates them into a single message.
Message Processor
Message Processor
Combined Payload
Processing concurrently
Scatter and gather in mule
To implement scatter-gather in Mule lets consider the following flow:-
You can see that there is two flow reference after scatter-gather which means it will process 2 flows
concurrently .
The other 2 sub flows are here:-
Now, You will see that these two flows will run concurrently and at the end the payloads from both the
flow will be merged .
Our Mule config will be as follow:-
Now, our flow is ready .. If we can test our flow using the url :- http://localhost:8090/scattergather
and we will get in logs as follows :-
You can see both the flow ended up concurrently and scatter-gather has merged the
payload fro both the flows at the end
In my next slide I will bring some other techniques in Mule implementation .
Hope you have enjoyed this simpler version.
Keep sharing your knowledge and let our Mule community grow 
Scatter and gather in mule

More Related Content

PPTX
Scatter gather in mule
PPTX
Mule batch job
PPTX
Mule with stored procedure
PPTX
Webservice vm in mule
PPTX
Scatter gather in mule
PPTX
Running mule standalone
PPTX
Deploying and Running in Mule
PPTX
Using spring task scheduler in java in mule
Scatter gather in mule
Mule batch job
Mule with stored procedure
Webservice vm in mule
Scatter gather in mule
Running mule standalone
Deploying and Running in Mule
Using spring task scheduler in java in mule

What's hot (13)

PPTX
Deploy apps in standalone with maven
PPTX
Quartz in Mule
PPTX
Mule soap
PPTX
Using groovy in mule
PPTX
Mule message enricher
PPTX
Idempotent filter in Mule
 
PPTX
Using spring scheduler mule
PPTX
Mule with drools
 
PPTX
Deploying and running in mule standalone
PPTX
Mule quartz
PPTX
Mulesoft Calling Flow of Other Applications
PPTX
Stored procedure in Mule
PPT
Mule - logger
Deploy apps in standalone with maven
Quartz in Mule
Mule soap
Using groovy in mule
Mule message enricher
Idempotent filter in Mule
 
Using spring scheduler mule
Mule with drools
 
Deploying and running in mule standalone
Mule quartz
Mulesoft Calling Flow of Other Applications
Stored procedure in Mule
Mule - logger
Ad

Similar to Scatter and gather in mule (20)

PPTX
Scatter gather
PPTX
Scatter gatherinmule
 
PPTX
Scatter gather flow in mule
PPTX
Mule accessing multiple database in parallel
PPTX
Multi database access
PPTX
Mule ESB Tutorial Part 2
PPTX
Restservice with active mq
PPTX
Mule Requester Usage Demo
PPTX
Mule with composite source
PPTX
Mule Clustering
PPTX
PPTX
Composite source in bound and out-bound
PPTX
Runing batch job in mule
PPTX
Splitters in mule
PPTX
Running mule from java
PPTX
Mule batch
PPTX
Community edition Cache
PPTX
Cache for community edition
PPTX
Cache community edition
PPTX
Cache for community edition
Scatter gather
Scatter gatherinmule
 
Scatter gather flow in mule
Mule accessing multiple database in parallel
Multi database access
Mule ESB Tutorial Part 2
Restservice with active mq
Mule Requester Usage Demo
Mule with composite source
Mule Clustering
Composite source in bound and out-bound
Runing batch job in mule
Splitters in mule
Running mule from java
Mule batch
Community edition Cache
Cache for community edition
Cache community edition
Cache for community edition
Ad

More from Rajkattamuri (20)

PPTX
Github plugin setup in anypointstudio
PPTX
For each component in mule
PPTX
Filter expression in mule
PPTX
File component in mule
PPTX
Database component in mule
PPTX
Choice component in mule
PPT
WebServices
PPTX
Java Basics in Mule
PPTX
WebServices Basic Overview
PPTX
Java For Begineers
PPT
Java Basics
PPT
WebServices Basics
PPT
Core java
PPT
WebServices SOAP WSDL and UDDI
PPTX
Web services soap
PPTX
Web services wsdl
PPTX
Web services uddi
PPT
PPTX
Mule esb dataweave
PPTX
Mule with drools
Github plugin setup in anypointstudio
For each component in mule
Filter expression in mule
File component in mule
Database component in mule
Choice component in mule
WebServices
Java Basics in Mule
WebServices Basic Overview
Java For Begineers
Java Basics
WebServices Basics
Core java
WebServices SOAP WSDL and UDDI
Web services soap
Web services wsdl
Web services uddi
Mule esb dataweave
Mule with drools

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Machine Learning_overview_presentation.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Getting Started with Data Integration: FME Form 101
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
Teaching material agriculture food technology
PDF
Encapsulation theory and applications.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
cuic standard and advanced reporting.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Programs and apps: productivity, graphics, security and other tools
gpt5_lecture_notes_comprehensive_20250812015547.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine Learning_overview_presentation.pptx
Empathic Computing: Creating Shared Understanding
Getting Started with Data Integration: FME Form 101
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Machine learning based COVID-19 study performance prediction
Group 1 Presentation -Planning and Decision Making .pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MIND Revenue Release Quarter 2 2025 Press Release
cuic standard and advanced reporting.pdf
Spectroscopy.pptx food analysis technology
Encapsulation_ Review paper, used for researhc scholars
20250228 LYD VKU AI Blended-Learning.pptx

Scatter and gather in mule

  • 2. Scatter-Gather is an important component in Mule that sends a request message to multiple targets concurrently. At the end it collects the responses from all routes, and aggregates them into a single message.
  • 3. Message Processor Message Processor Combined Payload Processing concurrently
  • 5. To implement scatter-gather in Mule lets consider the following flow:- You can see that there is two flow reference after scatter-gather which means it will process 2 flows concurrently .
  • 6. The other 2 sub flows are here:- Now, You will see that these two flows will run concurrently and at the end the payloads from both the flow will be merged .
  • 7. Our Mule config will be as follow:-
  • 8. Now, our flow is ready .. If we can test our flow using the url :- http://localhost:8090/scattergather and we will get in logs as follows :- You can see both the flow ended up concurrently and scatter-gather has merged the payload fro both the flows at the end
  • 9. In my next slide I will bring some other techniques in Mule implementation . Hope you have enjoyed this simpler version. Keep sharing your knowledge and let our Mule community grow 