2. Abstract
• The main motto of this PPT is How to use
Composite Source in our applications.
3. Introduction
• In the case of Composite, the embedded
building blocks are actually message sources
(i.e. inbound connectors) that listen in parallel
on different channels for incoming messages.
Whenever any of these receivers accepts a
message, the Composite scope passes it to
the first message processor in the flow, thus
triggering that flow.
6. • Output:
• ++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++
• + Started app 'CompositeSource' +
• ++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++
• INFO 2016-05-18 15:24:53,859
[[CompositeSource].CompositeSourceFlow1.stage1.02]
org.mule.api.processor.LoggerMessageProcessor: Hi
• INFO 2016-05-18 15:25:02,052
[[CompositeSource].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: Hi
• INFO 2016-05-18 15:25:02,509
[[CompositeSource].connector.http.mule.default.receiver.02]
org.mule.api.processor.LoggerMessageProcessor: Hi
• INFO 2016-05-18 15:25:53,757
[[CompositeSource].CompositeSourceFlow1.stage1.02]
org.mule.api.processor.LoggerMessageProcessor: Hi
7. • Flow of execution:
• 1. Trigger the service using URL mentioned
below:
• http://localhost:8091/
(Or)
• 2. Quartz component automatically triggers
the service for every 1min