2. Abstract
• The main motto of this PPT is How to use
Splitter Component in our applications.
3. Introduction
• The Splitter Flow Control splits a message into separate fragments,
then sends these fragments one at a time to the next message
processor in the flow. Segments are identified based on an
expression parameter, usually written in Mule Expression Language
(MEL), but other formats can be employed also. You can then use
aCollection Aggregator Flow Control to reassemble the parts of the
original message. You can also include a Resequencer Flow Control
to put the parts back into the original sequence in case they are
shuffled out of order.
• Splitting and aggregating the message is especially useful when you
intend to process the split parts in asynchronous flows running on
separate servers. Together, the splitter and aggregator flow controls
allow you to share the workload among several servers and still be
able to reassemble the message after it’s processed.
6. • Output:
INFO 2015-12-21 11:23:06,695 [[SplitterPOC].config.change.2.thread.1] org.mule.DefaultMuleContext:
**********************************************************************
* Application: SplitterPOC *
* OS encoding: Cp1252, Mule encoding: UTF-8 *
* *
* Agents Running: *
* Clustering Agent *
* JMX Agent *
**********************************************************************
INFO 2015-12-21 11:23:06,696 [[SplitterPOC].config.change.2.thread.1]
org.mule.module.launcher.MuleDeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Started app 'SplitterPOC' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2015-12-21 11:23:13,044 [[SplitterPOC].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: --Entered into the flow
INFO 2015-12-21 11:23:13,124 [[SplitterPOC].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: --After Splitter Laptop
INFO 2015-12-21 11:23:13,127 [[SplitterPOC].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: --After Splitter Memory Chips
7. • Flow of execution:
1. URL to trigger the service from browser
http://localhost:8089/SplitterPOC
2.Splitter component splits the input request
based on the given expression and displays the
results in Console.