SlideShare a Scribd company logo
Karthik
*
*The Routing module reviews the different types of Routers and how
Routers are used to control how messages are sent and received by
components. The message can be route in different ways. Below are
explained in this example.
• Splitters and Aggregators
• Collection splitter and Collection Aggregator
• Message chunk splitter and Message chunk aggregator
• Scatter gather
• For each
• Mule flows, Sub flows and flow reference
• Filters
*Splitters are used to split the message and process split messages in
parallel. After processing completed, those messages get aggregate
by aggregator components. Below is the splitters main flow diagram.
*Below flow exposes a HTTP service to implement collection splitter
and message chunk splitter. This flow expects a query parameter
‘splitter’.
*If ‘splitter’ parameter value is ‘collection’ then choice router routes
the flow to collection splitter or if the value is ‘chunk’ then it routes
to message chunk splitter implementation.
Collection splitter and Collection Aggregator:
*Collection splitter is used to split collection object and process split
messages individually. Collection splitter expects a collection object
as a payload. A java component has been used to create a List
object. Each object of List is routed to another flow via VM queue in
one-way mode.
*In the above flow after logger component (which logs payload) we
have two important message processors.
1. Resequencer
2. Collection Aggregator.
* While elements of List are processing invidually, the elements may
get change their order. Resequencer is used to reorder the elements
of List object. Collection Aggregator is used to aggregate the
processed invidual message payload.
Message chunk splitter and Message chunk
Aggregator:
*We need to provide some message payload to split the message.
*Message chunk splitter is used to chunk a message into a number of
fixed-length messages based on the Message Size.
*This splitter first convert the message into byte array then split this
array into chunks. Each chunked message is routed to another flow via
VM queue in one-way mode.
* Message Chunk Aggregator is used to aggregate the chunked
messages. Byte Array to String component needs to co
Scatter Gather:
*Scatter Gather is used to send a message to multiple endpoints
concurrently. It collects the response of all the routes and aggregate
into a single message.
*Thank You All

More Related Content

What's hot

Inter process communication
Inter process communicationInter process communication
Inter process communication
Gift Kaliza
 
Mule enricher
Mule enricher Mule enricher
Mule enricher
Karnam Karthik
 
Mule flow processing strategies
Mule flow processing strategiesMule flow processing strategies
Mule flow processing strategies
D.Rajesh Kumar
 
Mule scopes 2
Mule scopes 2Mule scopes 2
Mule scopes 2
kunal vishe
 
Tugas sistem terdistribusi kelompok 4 (revisi) (1)
Tugas sistem terdistribusi   kelompok 4 (revisi) (1)Tugas sistem terdistribusi   kelompok 4 (revisi) (1)
Tugas sistem terdistribusi kelompok 4 (revisi) (1)
rakasatria9
 
Osi layer model
Osi layer modelOsi layer model
Osi layer model
IshworKhatiwada
 
Message Chunk Splitter And Aggregator With MuleSoft
Message Chunk Splitter And Aggregator With MuleSoftMessage Chunk Splitter And Aggregator With MuleSoft
Message Chunk Splitter And Aggregator With MuleSoft
Jitendra Bafna
 
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data TransferDATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
Jabbar Tunyo
 
Inter Process Communication
Inter Process CommunicationInter Process Communication
Inter Process Communication
Adeel Rasheed
 
A survey on SCTP
A survey on SCTPA survey on SCTP
A survey on SCTP
chanwoo Jeong
 
Load balancing
Load balancingLoad balancing
Load balancing
Vetri Deepika
 
Sqoop2 refactoring for generic data transfer - NYC Sqoop Meetup
Sqoop2 refactoring for generic data transfer - NYC Sqoop MeetupSqoop2 refactoring for generic data transfer - NYC Sqoop Meetup
Sqoop2 refactoring for generic data transfer - NYC Sqoop Meetup
gethue
 
ITFT_Inter process communication
ITFT_Inter process communicationITFT_Inter process communication
ITFT_Inter process communication
Sneh Prabha
 
Mule routers(flowcontrol)
Mule routers(flowcontrol)Mule routers(flowcontrol)
Mule routers(flowcontrol)
Padmanabhan Natarajan, CSM
 
How packet data travel from each network
How packet data travel from each networkHow packet data travel from each network
How packet data travel from each networkRaisa Anjani
 
Transmission modes
Transmission modesTransmission modes
Transmission modes
sayyed sabir
 
Load Balancing In Distributed Computing
Load Balancing In Distributed ComputingLoad Balancing In Distributed Computing
Load Balancing In Distributed Computing
Richa Singh
 

What's hot (18)

Inter process communication
Inter process communicationInter process communication
Inter process communication
 
Mule enricher
Mule enricher Mule enricher
Mule enricher
 
Mule flow processing strategies
Mule flow processing strategiesMule flow processing strategies
Mule flow processing strategies
 
Mule scopes 2
Mule scopes 2Mule scopes 2
Mule scopes 2
 
Tugas sistem terdistribusi kelompok 4 (revisi) (1)
Tugas sistem terdistribusi   kelompok 4 (revisi) (1)Tugas sistem terdistribusi   kelompok 4 (revisi) (1)
Tugas sistem terdistribusi kelompok 4 (revisi) (1)
 
Osi layer model
Osi layer modelOsi layer model
Osi layer model
 
Message Chunk Splitter And Aggregator With MuleSoft
Message Chunk Splitter And Aggregator With MuleSoftMessage Chunk Splitter And Aggregator With MuleSoft
Message Chunk Splitter And Aggregator With MuleSoft
 
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data TransferDATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
 
Inter Process Communication
Inter Process CommunicationInter Process Communication
Inter Process Communication
 
A survey on SCTP
A survey on SCTPA survey on SCTP
A survey on SCTP
 
shieh06a
shieh06ashieh06a
shieh06a
 
Load balancing
Load balancingLoad balancing
Load balancing
 
Sqoop2 refactoring for generic data transfer - NYC Sqoop Meetup
Sqoop2 refactoring for generic data transfer - NYC Sqoop MeetupSqoop2 refactoring for generic data transfer - NYC Sqoop Meetup
Sqoop2 refactoring for generic data transfer - NYC Sqoop Meetup
 
ITFT_Inter process communication
ITFT_Inter process communicationITFT_Inter process communication
ITFT_Inter process communication
 
Mule routers(flowcontrol)
Mule routers(flowcontrol)Mule routers(flowcontrol)
Mule routers(flowcontrol)
 
How packet data travel from each network
How packet data travel from each networkHow packet data travel from each network
How packet data travel from each network
 
Transmission modes
Transmission modesTransmission modes
Transmission modes
 
Load Balancing In Distributed Computing
Load Balancing In Distributed ComputingLoad Balancing In Distributed Computing
Load Balancing In Distributed Computing
 

Viewers also liked

twelth marksheet
twelth marksheettwelth marksheet
twelth marksheetAshim Maji
 
1002宜蘭縣網部落格見面會
1002宜蘭縣網部落格見面會1002宜蘭縣網部落格見面會
1002宜蘭縣網部落格見面會bell5
 
Mule java part-4
Mule java part-4Mule java part-4
Mule java part-4
Karnam Karthik
 
Jms topics
Jms   topicsJms   topics
Jms topics
Karnam Karthik
 
o-palerra-ROI-QuantifyCASB-WP
o-palerra-ROI-QuantifyCASB-WPo-palerra-ROI-QuantifyCASB-WP
o-palerra-ROI-QuantifyCASB-WPEric Opp
 
101.2植物的有性生殖
101.2植物的有性生殖101.2植物的有性生殖
101.2植物的有性生殖bell5
 

Viewers also liked (8)

ISLAM 2015 cv
ISLAM 2015 cvISLAM 2015 cv
ISLAM 2015 cv
 
twelth marksheet
twelth marksheettwelth marksheet
twelth marksheet
 
1002宜蘭縣網部落格見面會
1002宜蘭縣網部落格見面會1002宜蘭縣網部落格見面會
1002宜蘭縣網部落格見面會
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
 
Mule java part-4
Mule java part-4Mule java part-4
Mule java part-4
 
Jms topics
Jms   topicsJms   topics
Jms topics
 
o-palerra-ROI-QuantifyCASB-WP
o-palerra-ROI-QuantifyCASB-WPo-palerra-ROI-QuantifyCASB-WP
o-palerra-ROI-QuantifyCASB-WP
 
101.2植物的有性生殖
101.2植物的有性生殖101.2植物的有性生殖
101.2植物的有性生殖
 

Similar to Mule splitters

Types of MessageRouting in Mule
Types of MessageRouting in MuleTypes of MessageRouting in Mule
Types of MessageRouting in Mule
VenkataNaveen Kumar
 
Routing in mule
Routing in muleRouting in mule
Routing in mule
Hari Gatadi
 
Mule routing and filters
Mule routing and filtersMule routing and filters
Mule routing and filters
Gandham38
 
Mule expression component
Mule expression componentMule expression component
Mule expression component
Karnam Karthik
 
Routing in mule
Routing in muleRouting in mule
Routing in mule
vasanthii9
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
Paaras Baru
 
Splitter flow control reference
Splitter flow control referenceSplitter flow control reference
Splitter flow control reference
Krishna_in
 
Iterative processing using the for each scope in
Iterative processing using the for each scope inIterative processing using the for each scope in
Iterative processing using the for each scope in
Ankit Lawaniya
 
Parallel processing for splitter in mule esb
Parallel processing for splitter in mule esbParallel processing for splitter in mule esb
Parallel processing for splitter in mule esb
Sunil Kumar
 
Introduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenIntroduction to Kafka and Event-Driven
Introduction to Kafka and Event-Driven
Dimosthenis Botsaris
 
Introduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenIntroduction to Kafka and Event-Driven
Introduction to Kafka and Event-Driven
arconsis
 
Module 5 APP+Sess+Pres layer.pptx
Module 5 APP+Sess+Pres layer.pptxModule 5 APP+Sess+Pres layer.pptx
Module 5 APP+Sess+Pres layer.pptx
SridharChowdary10
 
Controlling Message Flow - Mule ESB
Controlling Message Flow - Mule ESBControlling Message Flow - Mule ESB
Controlling Message Flow - Mule ESB
Mani Rathnam Gudi
 
MQTT in Reactive Blocks
MQTT in Reactive BlocksMQTT in Reactive Blocks
MQTT in Reactive Blocks
Bitreactive
 
Controlling message flow
Controlling message flowControlling message flow
Controlling message flow
Rajarajan Sadhasivam
 
Mule scopes foreach_scope
Mule scopes foreach_scopeMule scopes foreach_scope
Mule scopes foreach_scope
kunal vishe
 
test
testtest
test
techweb08
 
test
testtest
test
techweb08
 
test
testtest
test
techweb08
 

Similar to Mule splitters (20)

Types of MessageRouting in Mule
Types of MessageRouting in MuleTypes of MessageRouting in Mule
Types of MessageRouting in Mule
 
Routing in mule
Routing in muleRouting in mule
Routing in mule
 
Mule routing and filters
Mule routing and filtersMule routing and filters
Mule routing and filters
 
Mule expression component
Mule expression componentMule expression component
Mule expression component
 
Routing in mule
Routing in muleRouting in mule
Routing in mule
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
 
Splitter flow control reference
Splitter flow control referenceSplitter flow control reference
Splitter flow control reference
 
Iterative processing using the for each scope in
Iterative processing using the for each scope inIterative processing using the for each scope in
Iterative processing using the for each scope in
 
Parallel processing for splitter in mule esb
Parallel processing for splitter in mule esbParallel processing for splitter in mule esb
Parallel processing for splitter in mule esb
 
Introduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenIntroduction to Kafka and Event-Driven
Introduction to Kafka and Event-Driven
 
Introduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenIntroduction to Kafka and Event-Driven
Introduction to Kafka and Event-Driven
 
Module 5 APP+Sess+Pres layer.pptx
Module 5 APP+Sess+Pres layer.pptxModule 5 APP+Sess+Pres layer.pptx
Module 5 APP+Sess+Pres layer.pptx
 
Controlling Message Flow - Mule ESB
Controlling Message Flow - Mule ESBControlling Message Flow - Mule ESB
Controlling Message Flow - Mule ESB
 
MQTT in Reactive Blocks
MQTT in Reactive BlocksMQTT in Reactive Blocks
MQTT in Reactive Blocks
 
Axis2
Axis2Axis2
Axis2
 
Controlling message flow
Controlling message flowControlling message flow
Controlling message flow
 
Mule scopes foreach_scope
Mule scopes foreach_scopeMule scopes foreach_scope
Mule scopes foreach_scope
 
test
testtest
test
 
test
testtest
test
 
test
testtest
test
 

More from Karnam Karthik

Https service mule
Https service muleHttps service mule
Https service mule
Karnam Karthik
 
Http mule
Http muleHttp mule
Http mule
Karnam Karthik
 
Mule system properties
Mule system propertiesMule system properties
Mule system properties
Karnam Karthik
 
Mule properties
Mule propertiesMule properties
Mule properties
Karnam Karthik
 
Mule batch
Mule batchMule batch
Mule batch
Karnam Karthik
 
Jms queues
Jms queuesJms queues
Jms queues
Karnam Karthik
 
Mule java part-3
Mule java part-3Mule java part-3
Mule java part-3
Karnam Karthik
 
Mule java part-2
Mule java part-2Mule java part-2
Mule java part-2
Karnam Karthik
 
Mule java part-1
Mule java part-1Mule java part-1
Mule java part-1
Karnam Karthik
 
Mule java part-3
Mule java part-3Mule java part-3
Mule java part-3
Karnam Karthik
 
Mule java part-1
Mule java part-1Mule java part-1
Mule java part-1
Karnam Karthik
 

More from Karnam Karthik (11)

Https service mule
Https service muleHttps service mule
Https service mule
 
Http mule
Http muleHttp mule
Http mule
 
Mule system properties
Mule system propertiesMule system properties
Mule system properties
 
Mule properties
Mule propertiesMule properties
Mule properties
 
Mule batch
Mule batchMule batch
Mule batch
 
Jms queues
Jms queuesJms queues
Jms queues
 
Mule java part-3
Mule java part-3Mule java part-3
Mule java part-3
 
Mule java part-2
Mule java part-2Mule java part-2
Mule java part-2
 
Mule java part-1
Mule java part-1Mule java part-1
Mule java part-1
 
Mule java part-3
Mule java part-3Mule java part-3
Mule java part-3
 
Mule java part-1
Mule java part-1Mule java part-1
Mule java part-1
 

Recently uploaded

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 

Recently uploaded (20)

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 

Mule splitters

  • 2. *The Routing module reviews the different types of Routers and how Routers are used to control how messages are sent and received by components. The message can be route in different ways. Below are explained in this example. • Splitters and Aggregators • Collection splitter and Collection Aggregator • Message chunk splitter and Message chunk aggregator • Scatter gather • For each • Mule flows, Sub flows and flow reference • Filters
  • 3. *Splitters are used to split the message and process split messages in parallel. After processing completed, those messages get aggregate by aggregator components. Below is the splitters main flow diagram. *Below flow exposes a HTTP service to implement collection splitter and message chunk splitter. This flow expects a query parameter ‘splitter’. *If ‘splitter’ parameter value is ‘collection’ then choice router routes the flow to collection splitter or if the value is ‘chunk’ then it routes to message chunk splitter implementation.
  • 4.
  • 5. Collection splitter and Collection Aggregator: *Collection splitter is used to split collection object and process split messages individually. Collection splitter expects a collection object as a payload. A java component has been used to create a List object. Each object of List is routed to another flow via VM queue in one-way mode.
  • 6. *In the above flow after logger component (which logs payload) we have two important message processors. 1. Resequencer 2. Collection Aggregator. * While elements of List are processing invidually, the elements may get change their order. Resequencer is used to reorder the elements of List object. Collection Aggregator is used to aggregate the processed invidual message payload.
  • 7. Message chunk splitter and Message chunk Aggregator: *We need to provide some message payload to split the message. *Message chunk splitter is used to chunk a message into a number of fixed-length messages based on the Message Size.
  • 8. *This splitter first convert the message into byte array then split this array into chunks. Each chunked message is routed to another flow via VM queue in one-way mode. * Message Chunk Aggregator is used to aggregate the chunked messages. Byte Array to String component needs to co
  • 9. Scatter Gather: *Scatter Gather is used to send a message to multiple endpoints concurrently. It collects the response of all the routes and aggregate into a single message.
  • 10.