SlideShare une entreprise Scribd logo
1  sur  10
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
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 gather in mule

Contenu connexe

Tendances

Tendances (12)

Runing batch job in mule
Runing batch job in muleRuning batch job in mule
Runing batch job in mule
 
Mulesoft vm transport reference
Mulesoft vm transport referenceMulesoft vm transport reference
Mulesoft vm transport reference
 
Webservice vm in mule
Webservice vm in muleWebservice vm in mule
Webservice vm in mule
 
Accessing jms in mule using groovy
Accessing jms in mule using groovyAccessing jms in mule using groovy
Accessing jms in mule using groovy
 
Mule message enricher
Mule message enricherMule message enricher
Mule message enricher
 
Stored procedure in Mule
Stored procedure in MuleStored procedure in Mule
Stored procedure in Mule
 
Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in Mule
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler mule
 
Mule with quartz
Mule with quartzMule with quartz
Mule with quartz
 
Mule soap
Mule soapMule soap
Mule soap
 
Mule quartz
Mule quartz Mule quartz
Mule quartz
 
Mule Quartz connector
Mule Quartz connectorMule Quartz connector
Mule Quartz connector
 

En vedette

Nezapomeňte na uživatele
Nezapomeňte na uživateleNezapomeňte na uživatele
Nezapomeňte na uživateleMichal Acler
 
Weby knihoven: jaké jsou, nejsou a mohly by být
Weby knihoven: jaké jsou, nejsou a mohly by býtWeby knihoven: jaké jsou, nejsou a mohly by být
Weby knihoven: jaké jsou, nejsou a mohly by býtJanKanka
 
Jak se dělá webdesign
Jak se dělá webdesignJak se dělá webdesign
Jak se dělá webdesignJan Valuštík
 
Kolik stojí digitální marketing? [Czech Internet Forum, 2011]
Kolik stojí digitální marketing? [Czech Internet Forum, 2011]Kolik stojí digitální marketing? [Czech Internet Forum, 2011]
Kolik stojí digitální marketing? [Czech Internet Forum, 2011]Marek Baco
 
Efektivní online prezentace
Efektivní online prezentaceEfektivní online prezentace
Efektivní online prezentaceIvo Kylián
 
Lukáš Marvan: Použitelnost a přístupnost (nejen) neziskových webů
Lukáš Marvan: Použitelnost a přístupnost (nejen) neziskových webůLukáš Marvan: Použitelnost a přístupnost (nejen) neziskových webů
Lukáš Marvan: Použitelnost a přístupnost (nejen) neziskových webůCentrum pro online media
 
Copywriter s přesahem do SEO a UX? Nutnost! | Copycamp 2016 | 8.6.2016
Copywriter s přesahem do SEO a UX? Nutnost! | Copycamp 2016 | 8.6.2016Copywriter s přesahem do SEO a UX? Nutnost! | Copycamp 2016 | 8.6.2016
Copywriter s přesahem do SEO a UX? Nutnost! | Copycamp 2016 | 8.6.2016Jan Kvasnička
 
Nejčastější chyby při návrhu mobilního a responzivního webu prakticky | WebEx...
Nejčastější chyby při návrhu mobilního a responzivního webu prakticky | WebEx...Nejčastější chyby při návrhu mobilního a responzivního webu prakticky | WebEx...
Nejčastější chyby při návrhu mobilního a responzivního webu prakticky | WebEx...Jan Kvasnička
 
Úživatel nechce přemýšlet
Úživatel nechce přemýšletÚživatel nechce přemýšlet
Úživatel nechce přemýšletjirikomar
 
Personalizace - velká zbraň, která se může otočit proti vám | Shopcamp 2015 |...
Personalizace - velká zbraň, která se může otočit proti vám | Shopcamp 2015 |...Personalizace - velká zbraň, která se může otočit proti vám | Shopcamp 2015 |...
Personalizace - velká zbraň, která se může otočit proti vám | Shopcamp 2015 |...Jan Kvasnička
 

En vedette (11)

Nezapomeňte na uživatele
Nezapomeňte na uživateleNezapomeňte na uživatele
Nezapomeňte na uživatele
 
Weby knihoven: jaké jsou, nejsou a mohly by být
Weby knihoven: jaké jsou, nejsou a mohly by býtWeby knihoven: jaké jsou, nejsou a mohly by být
Weby knihoven: jaké jsou, nejsou a mohly by být
 
Jak se dělá webdesign
Jak se dělá webdesignJak se dělá webdesign
Jak se dělá webdesign
 
Kolik stojí digitální marketing? [Czech Internet Forum, 2011]
Kolik stojí digitální marketing? [Czech Internet Forum, 2011]Kolik stojí digitální marketing? [Czech Internet Forum, 2011]
Kolik stojí digitální marketing? [Czech Internet Forum, 2011]
 
Efektivní online prezentace
Efektivní online prezentaceEfektivní online prezentace
Efektivní online prezentace
 
Lukáš Marvan: Použitelnost a přístupnost (nejen) neziskových webů
Lukáš Marvan: Použitelnost a přístupnost (nejen) neziskových webůLukáš Marvan: Použitelnost a přístupnost (nejen) neziskových webů
Lukáš Marvan: Použitelnost a přístupnost (nejen) neziskových webů
 
Copywriter s přesahem do SEO a UX? Nutnost! | Copycamp 2016 | 8.6.2016
Copywriter s přesahem do SEO a UX? Nutnost! | Copycamp 2016 | 8.6.2016Copywriter s přesahem do SEO a UX? Nutnost! | Copycamp 2016 | 8.6.2016
Copywriter s přesahem do SEO a UX? Nutnost! | Copycamp 2016 | 8.6.2016
 
Vzdělávání v UX
Vzdělávání v UXVzdělávání v UX
Vzdělávání v UX
 
Nejčastější chyby při návrhu mobilního a responzivního webu prakticky | WebEx...
Nejčastější chyby při návrhu mobilního a responzivního webu prakticky | WebEx...Nejčastější chyby při návrhu mobilního a responzivního webu prakticky | WebEx...
Nejčastější chyby při návrhu mobilního a responzivního webu prakticky | WebEx...
 
Úživatel nechce přemýšlet
Úživatel nechce přemýšletÚživatel nechce přemýšlet
Úživatel nechce přemýšlet
 
Personalizace - velká zbraň, která se může otočit proti vám | Shopcamp 2015 |...
Personalizace - velká zbraň, která se může otočit proti vám | Shopcamp 2015 |...Personalizace - velká zbraň, která se může otočit proti vám | Shopcamp 2015 |...
Personalizace - velká zbraň, která se může otočit proti vám | Shopcamp 2015 |...
 

Similaire à Scatter gather in mule

Scatter gatherinmule
Scatter gatherinmuleScatter gatherinmule
Scatter gatherinmuleF K
 
Scatter gather flow in mule
Scatter gather flow in muleScatter gather flow in mule
Scatter gather flow in muleSon Nguyen
 
Mule accessing multiple database in parallel
Mule accessing multiple database in parallelMule accessing multiple database in parallel
Mule accessing multiple database in parallelAnirban Sen Chowdhary
 
Multi database access
Multi database accessMulti database access
Multi database accessSon Nguyen
 
Mule ESB Tutorial Part 2
Mule ESB Tutorial Part 2Mule ESB Tutorial Part 2
Mule ESB Tutorial Part 2Srikanth N
 
Restservice with active mq
Restservice with active mq Restservice with active mq
Restservice with active mq javeed_mhd
 
Mule Clustering
Mule Clustering Mule Clustering
Mule Clustering Vijay Shan
 
Composite source in bound and out-bound
Composite source in bound and out-boundComposite source in bound and out-bound
Composite source in bound and out-boundSon Nguyen
 
Splitters in mule
Splitters in muleSplitters in mule
Splitters in mulevasanthii9
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community editionMohammed246
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition javeed_mhd
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community editionF K
 
Cache community edition
Cache community edition Cache community edition
Cache community edition AbdulImrankhan7
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition mdfkhan625
 

Similaire à Scatter gather in mule (20)

Scatter gather
Scatter gatherScatter gather
Scatter gather
 
Scatter gatherinmule
Scatter gatherinmuleScatter gatherinmule
Scatter gatherinmule
 
Scatter gather flow in mule
Scatter gather flow in muleScatter gather flow in mule
Scatter gather flow in mule
 
Mule accessing multiple database in parallel
Mule accessing multiple database in parallelMule accessing multiple database in parallel
Mule accessing multiple database in parallel
 
Multi database access
Multi database accessMulti database access
Multi database access
 
Mule ESB Tutorial Part 2
Mule ESB Tutorial Part 2Mule ESB Tutorial Part 2
Mule ESB Tutorial Part 2
 
Restservice with active mq
Restservice with active mq Restservice with active mq
Restservice with active mq
 
Mule Requester Usage Demo
Mule Requester Usage DemoMule Requester Usage Demo
Mule Requester Usage Demo
 
Mule Clustering
Mule Clustering Mule Clustering
Mule Clustering
 
Splitter
SplitterSplitter
Splitter
 
Composite source in bound and out-bound
Composite source in bound and out-boundComposite source in bound and out-bound
Composite source in bound and out-bound
 
Splitters in mule
Splitters in muleSplitters in mule
Splitters in mule
 
Running mule from java
Running mule from javaRunning mule from java
Running mule from java
 
Mule batch
Mule batchMule batch
Mule batch
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition
 
Community edition Cache
Community edition CacheCommunity edition Cache
Community edition Cache
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
 
Cache community edition
Cache community edition Cache community edition
Cache community edition
 
Cache for community edition
Cache for community edition Cache for community edition
Cache for community edition
 

Plus de Mohammed625

Mule with drools
Mule with drools Mule with drools
Mule with drools Mohammed625
 
Creating dynamic json
Creating dynamic json Creating dynamic json
Creating dynamic json Mohammed625
 
Simple groovy example in mule
Simple groovy example in mule Simple groovy example in mule
Simple groovy example in mule Mohammed625
 
Webservice with vm in mule
Webservice with vm in mule Webservice with vm in mule
Webservice with vm in mule Mohammed625
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedureMohammed625
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standaloneMohammed625
 
Mule real world old
Mule real world oldMule real world old
Mule real world oldMohammed625
 
Mule esb introduction
Mule esb introductionMule esb introduction
Mule esb introductionMohammed625
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in muleMohammed625
 
Java multithreading
Java multithreadingJava multithreading
Java multithreadingMohammed625
 
WebServices using Soap
WebServices using SoapWebServices using Soap
WebServices using SoapMohammed625
 

Plus de Mohammed625 (16)

Mule with drools
Mule with drools Mule with drools
Mule with drools
 
Creating dynamic json
Creating dynamic json Creating dynamic json
Creating dynamic json
 
Simple groovy example in mule
Simple groovy example in mule Simple groovy example in mule
Simple groovy example in mule
 
Webservice with vm in mule
Webservice with vm in mule Webservice with vm in mule
Webservice with vm in mule
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Mule real world old
Mule real world oldMule real world old
Mule real world old
 
Mule esb introduction
Mule esb introductionMule esb introduction
Mule esb introduction
 
Mule overview
Mule overviewMule overview
Mule overview
 
Mule technology
Mule technologyMule technology
Mule technology
 
Presentation
PresentationPresentation
Presentation
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mule
 
Java multithreading
Java multithreadingJava multithreading
Java multithreading
 
WebServices using Soap
WebServices using SoapWebServices using Soap
WebServices using Soap
 
Sunstate
SunstateSunstate
Sunstate
 
MuleEsb
MuleEsbMuleEsb
MuleEsb
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Dernier (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Scatter 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
  • 4.
  • 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 