SlideShare a Scribd company logo
Mule Application Architecture
2
At the simplest level, a Mule application accepts a succession of messages one at a
time, then processes each message in the order it was received. Sometimes, the
Mule application returns a different message to the source of the original message.
In other cases, the application might send the message in its original or altered form
to one or more third parties. Or it might do both.
3
In still other cases, Mule might decline to process (i.e., discard) a message
that does not meet specific criteria.
Advanced Mule applications support much more than this sort of linear
message processing. You can set up mechanisms to handle different
messages in different ways. Furthermore, you can construct applications that
utilize:
various queue-and-thread arrangements to maximize throughput
clusters or transactions to maximize reliability
object-stores to ensure data persistence
These represent only a fraction of the features you can implement through a
Mule application.
Mule ESB Flow
About Mule Execution Units
Mule ESB supports several architectural approaches to
building Mule applications. MuleSoft recommends Flows, the
newest, most convenient, and most flexible architecture as the
preferred execution unit for most Mule applications. However,
Services and Patterns remain available, and may prove useful
in certain specialized situations.
Flows
Flows qualify as the most powerful and flexible way to
construct Mule applications, because you can arrange pre-
packaged building blocks into a sequence of message-
processing events that fit your application needs exactly.
5
Flows can be particularly effective for the following use
cases:
Simple integration tasks
Scheduled data processing
Integration with either Cloud-based or on-premise applications
Event processing where multiple services need to be orchestrated
Mule provides a pair of interfaces for building flows. You can choose between:
typing lines of XML code into your application configuration file
using Studio, Mule’s drag-and-drop graphical interface, to arrange building
block icons into visual sequences
Subsequently, you configure these sequenced building blocks using other Studio
graphical tools, or by editing XML code in the configuration file.
Patterns
Mule ESB provides Configuration Patterns, which are optimized for several
common message-processing cases. If your application falls outside the area
covered by the group of Configuration Patterns bundled with Mule, you should
use a flow instead.
Mule Component Overview
 About Flows
 At the simplest level, Flows are sequences of message-
processing events. As the following schematic illustrates, a
message that enters a flow may be:
 validated (filtered)
 enriched (appended)
 transformed into a new format, sometimes by first
undergoing transformation into an intermediate format
 processed by custom-coded business logic
 logged to a database
 evaluated to determine what sort of response gets
returned to party that submitted the original message
Mule   architecture
What is Sub Flow
 Sub flow is a private flow which is not
visible outside the current flow
 A sub flow will not have a Message Source.
Mule Message
The Data received from an endpoint is packaged
into an object that implements Mule Message
interface
A Message contains:
A series of properties that vary
depending on the transport
Variables – Session and Flow
The data as the payload of the Mule Message.
If required, a series of attachments
that can accompany the message.
Mule Message Structure
 The Mule message is the data that passes through an application via one or
more flows. It consists of two main parts:
 The message header, which contains metadata about the message
 The message payload, which contains your business-specific data.
Mule Message Properties and Variables
 Message header consists of properties which
provide useful information about the message
 variables represent data about a message
 Properties have two main
scopes: inbound and outbound.Inbound Property
 Inbound Message properties are immutable
 Automatically generated by the message source and
cannot be set or manipulated by the user.
 They contain metadata specific to the message
source that prevents scrambling of data formats or
other processing mishaps later in the message's
lifecycle.
 A message retains its inbound properties only for
the duration of the flow; when a message passes out
of a flow, its inbound properties do not follow it
Inbound Message properties
 They contain metadata similar to that of an inbound
property, but an outbound property is applied after
the message enters the flow
 Outbound properties can be set automatically by
Mule or a user can set them by manually inserting
one or more transformer elements in the flow.
 If the message is passed to a new flow via a flow-
ref rather than a connector, the outbound properties
remain outbound properties rather than being
converted to inbound properties
Outbound Message Properties

More Related Content

PPTX
Elements in a mule flow
PPTX
Mulesoft idempotent Message Filter
PPTX
Mule concepts
PPTX
Mule high availability (ha) cluster
PPTX
Vm component in mule demo
PPTX
Database component in mule
PPTX
Drools in Mule
PPTX
Mule high availability
Elements in a mule flow
Mulesoft idempotent Message Filter
Mule concepts
Mule high availability (ha) cluster
Vm component in mule demo
Database component in mule
Drools in Mule
Mule high availability

What's hot (18)

PPTX
Until successful component in mule demo
PPTX
Scatter gather flow in mule
PPTX
Webservice vm in mule
PPTX
Mule advanced
PPTX
Send email attachment using smtp in mule esb
PPTX
Cloudhub fabric
PPTX
Send email attachment using smtp in mule esb
PPTX
Web service vm in mule
PPTX
Mule soa
PPTX
What is the difference between using private flow
PPTX
Mule requester
PPTX
File component in mule demo
PPTX
PPTX
Data weave in mule
PPT
Propertiesinmule
PPTX
Mule esb
PPTX
Design flows in mule
PPTX
Mule esb
Until successful component in mule demo
Scatter gather flow in mule
Webservice vm in mule
Mule advanced
Send email attachment using smtp in mule esb
Cloudhub fabric
Send email attachment using smtp in mule esb
Web service vm in mule
Mule soa
What is the difference between using private flow
Mule requester
File component in mule demo
Data weave in mule
Propertiesinmule
Mule esb
Design flows in mule
Mule esb
Ad

Viewers also liked (20)

PPTX
Mule enricher component
PPTX
Mule for each scope
PPTX
Automatic documantation with mule
PPT
Mule google connectors
PPT
Mule batch processing
ODP
Mule ESB SMTP Connector Integration
PPTX
Mule esb dataweave
PPT
Mule security - jaas
PPTX
Mule java part-3
PPTX
Validating soap request in mule
PPT
Mule B2B
PPT
Filters in Mulesoft
PPT
Mule anypoint workday-connectors
PPTX
Creating dynamic json in Mule
 
PPTX
Webservice with vm in mule
PPTX
Using xslt in mule
PPT
Mule cloud hub
PPT
Mule hdfs connector
PPTX
Connecting to salesforce and using database in mule
PPT
Mule overview
Mule enricher component
Mule for each scope
Automatic documantation with mule
Mule google connectors
Mule batch processing
Mule ESB SMTP Connector Integration
Mule esb dataweave
Mule security - jaas
Mule java part-3
Validating soap request in mule
Mule B2B
Filters in Mulesoft
Mule anypoint workday-connectors
Creating dynamic json in Mule
 
Webservice with vm in mule
Using xslt in mule
Mule cloud hub
Mule hdfs connector
Connecting to salesforce and using database in mule
Mule overview
Ad

Similar to Mule architecture (20)

PPTX
Muleflowarchitecture
PPT
Mule esb presentation 2015
PPTX
Mule concepts
PPTX
Mule chapter2
PPTX
Srilekha mule esb
PPTX
Mule enterprise service introduction
PPTX
Mule slides
PPTX
PPTX
Sai mule esb batch
PPTX
PPTX
Ashok mule esb
PPTX
Mule esb
PPTX
Mule esb kranthi
PPTX
Esb process
PPTX
Mule esb kranthi
PPTX
Mule fundamentals
PPTX
Niranjan mule esb
PPTX
Mule esb naveen
PPTX
Mule esb
PPTX
Mule esb
Muleflowarchitecture
Mule esb presentation 2015
Mule concepts
Mule chapter2
Srilekha mule esb
Mule enterprise service introduction
Mule slides
Sai mule esb batch
Ashok mule esb
Mule esb
Mule esb kranthi
Esb process
Mule esb kranthi
Mule fundamentals
Niranjan mule esb
Mule esb naveen
Mule esb
Mule esb

More from D.Rajesh Kumar (20)

PPTX
Mule soft meetup_-_finland_september_25th__2020 v2.0
PPTX
Meetup bangalore-sept5th 2020 (1)
PPTX
Mule soft meetup_-_finland_july_11th__2020
PPTX
Bangalore mulesoft meetup#10
PPTX
Meetup bangalore 9_novupdated
PPTX
Meetup bangalore aug31st2019
PPTX
Meetup bangalore june29th2019
PPTX
mulesoft meetup @ bangalore
PPTX
Meetup_Bangalore_Rajesh
PPT
Calico and container
PPT
Calico docker+ipam
PPT
Calico architecture
PPT
Calico to secure host interfaces
PPT
Calico and how interprets neutron api
PPT
Calico with open stack and chef
PPT
Calico with open stack
PPT
Calico with docker
PPT
Object Store in Mule
PPT
Slack connector with in MULE
PPT
MuleSoft Offers a Data Migration Solution
Mule soft meetup_-_finland_september_25th__2020 v2.0
Meetup bangalore-sept5th 2020 (1)
Mule soft meetup_-_finland_july_11th__2020
Bangalore mulesoft meetup#10
Meetup bangalore 9_novupdated
Meetup bangalore aug31st2019
Meetup bangalore june29th2019
mulesoft meetup @ bangalore
Meetup_Bangalore_Rajesh
Calico and container
Calico docker+ipam
Calico architecture
Calico to secure host interfaces
Calico and how interprets neutron api
Calico with open stack and chef
Calico with open stack
Calico with docker
Object Store in Mule
Slack connector with in MULE
MuleSoft Offers a Data Migration Solution

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Modernizing your data center with Dell and AMD
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Advanced IT Governance
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Big Data Technologies - Introduction.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Modernizing your data center with Dell and AMD
Spectral efficient network and resource selection model in 5G networks
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Monthly Chronicles - July 2025
NewMind AI Weekly Chronicles - August'25 Week I
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Reach Out and Touch Someone: Haptics and Empathic Computing
The Rise and Fall of 3GPP – Time for a Sabbatical?
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Advanced IT Governance
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Machine learning based COVID-19 study performance prediction
Big Data Technologies - Introduction.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation

Mule architecture

  • 2. 2 At the simplest level, a Mule application accepts a succession of messages one at a time, then processes each message in the order it was received. Sometimes, the Mule application returns a different message to the source of the original message. In other cases, the application might send the message in its original or altered form to one or more third parties. Or it might do both.
  • 3. 3 In still other cases, Mule might decline to process (i.e., discard) a message that does not meet specific criteria. Advanced Mule applications support much more than this sort of linear message processing. You can set up mechanisms to handle different messages in different ways. Furthermore, you can construct applications that utilize: various queue-and-thread arrangements to maximize throughput clusters or transactions to maximize reliability object-stores to ensure data persistence These represent only a fraction of the features you can implement through a Mule application.
  • 4. Mule ESB Flow About Mule Execution Units Mule ESB supports several architectural approaches to building Mule applications. MuleSoft recommends Flows, the newest, most convenient, and most flexible architecture as the preferred execution unit for most Mule applications. However, Services and Patterns remain available, and may prove useful in certain specialized situations. Flows Flows qualify as the most powerful and flexible way to construct Mule applications, because you can arrange pre- packaged building blocks into a sequence of message- processing events that fit your application needs exactly.
  • 5. 5 Flows can be particularly effective for the following use cases: Simple integration tasks Scheduled data processing Integration with either Cloud-based or on-premise applications Event processing where multiple services need to be orchestrated Mule provides a pair of interfaces for building flows. You can choose between: typing lines of XML code into your application configuration file using Studio, Mule’s drag-and-drop graphical interface, to arrange building block icons into visual sequences Subsequently, you configure these sequenced building blocks using other Studio graphical tools, or by editing XML code in the configuration file.
  • 6. Patterns Mule ESB provides Configuration Patterns, which are optimized for several common message-processing cases. If your application falls outside the area covered by the group of Configuration Patterns bundled with Mule, you should use a flow instead. Mule Component Overview
  • 7.  About Flows  At the simplest level, Flows are sequences of message- processing events. As the following schematic illustrates, a message that enters a flow may be:  validated (filtered)  enriched (appended)  transformed into a new format, sometimes by first undergoing transformation into an intermediate format  processed by custom-coded business logic  logged to a database  evaluated to determine what sort of response gets returned to party that submitted the original message
  • 9. What is Sub Flow  Sub flow is a private flow which is not visible outside the current flow  A sub flow will not have a Message Source.
  • 10. Mule Message The Data received from an endpoint is packaged into an object that implements Mule Message interface A Message contains: A series of properties that vary depending on the transport Variables – Session and Flow The data as the payload of the Mule Message. If required, a series of attachments that can accompany the message.
  • 11. Mule Message Structure  The Mule message is the data that passes through an application via one or more flows. It consists of two main parts:  The message header, which contains metadata about the message  The message payload, which contains your business-specific data.
  • 12. Mule Message Properties and Variables  Message header consists of properties which provide useful information about the message  variables represent data about a message  Properties have two main scopes: inbound and outbound.Inbound Property
  • 13.  Inbound Message properties are immutable  Automatically generated by the message source and cannot be set or manipulated by the user.  They contain metadata specific to the message source that prevents scrambling of data formats or other processing mishaps later in the message's lifecycle.  A message retains its inbound properties only for the duration of the flow; when a message passes out of a flow, its inbound properties do not follow it Inbound Message properties
  • 14.  They contain metadata similar to that of an inbound property, but an outbound property is applied after the message enters the flow  Outbound properties can be set automatically by Mule or a user can set them by manually inserting one or more transformer elements in the flow.  If the message is passed to a new flow via a flow- ref rather than a connector, the outbound properties remain outbound properties rather than being converted to inbound properties Outbound Message Properties