SlideShare a Scribd company logo
Mule Concepts
Flows and Batch Jobs
• Based on the concept of Event Driven Architecture
(EDA).
• Works by responding to messages initiated by
external resources (such as, events).
• Mule applications accept and process events
as messages through several message processors
plugged together in a flow.
• Large or streaming messages can be processed
as records in a batch job.
Mule Concepts : Intro
• Every Mule flow contains a series of message
processors that accept, then process messages.
• Mule applications usually contain multiple linked
flows and/or batch jobs.
• These applications perform the integration required
for the use case.
Mule Concepts : Intro
Mule Concepts : Intro
• Every Mule Applications can consists of below :
– Flows
– Batch Jobs
Mule Concepts : Flows
• A flow is the construct within which you link
together several individual elements to handle the
receipt, processing, and eventual routing of a
message.
• Flows are sequences of message-processing events.
• A message that enters a flow may pass through a
wide variety of processors.
• Multiple flows can be connected together to build a
complete application.
Mule Concepts : Flows
• As shown in below diagram, each flow consists of:
– Message Source
– Message Processors
Mule Concepts : Batch Jobs
• A top-level element in Mule that exists outside all
Mule flows.
• provides record I/O for Mule message processing.
• Batch jobs split large messages into records which
Mule processes asynchronously.
• Just as flows process messages, batch jobs process
records.
Mule Concepts : Batch Jobs
• Contains one or more batch steps.
• Each batch step contains any number of message
processors that act upon records as they move
through the batch job.
• record-level variables (recordVars) and MEL (Mule
Expression Language) expressions to enrich, route or
otherwise act upon records.
Mule Concepts : Batch Jobs
• A batch job is executes when :
– Triggered by a batch executor in a Mule flow, or
– Message source in a batch-accepting input.
• When triggered, Mule creates a new batch job
instance.
• Once every record has passed through all batch
steps, the batch job instance ends and the batch job
result can be summarized in a report.
• Report indicates which records succeeded and which
failed.
Mule Concepts : Message Sources
• Mule processes messages, also known as events,
which may be transmitted from resources external to
Mule.
• First building block of most flows or batch jobs is a
message receiver.
• Receiver receives new messages and places them in
the queue for processing.
• These Receivers are the Message Sources.
• Message Sources on receiving of the messages from
one or more external sources trigger the execution of
the flow or the batch job.
Mule Concepts : Message Sources
• Message sources in Mule are usually Anypoint
Connectors.
• Anypoint Connectors elements provide
connectivity to a specific external source.
• The connectivity is provided via a standard
protocol (such as HTTP, FTP, SMTP) or a third-
party API (such as Salesforce.com, Twitter, or
MongoDB.)
Mule Concepts : Message Processors
• Mule processors are the elements which acts on the
received messages and perform operations to modify
the message or to create a new one.
• In Mule, message processors are grouped together
by category.
Mule Concepts : Message Processors
• Message Processors are grouped in below categories:
– Message Transformers :
• key to exchanging data between nodes
• Allow Mule to convert message payload data to a format that another application
can understand.
• Through Message Enrichers Mule enables to retrieve additional data during
processing and attach it to the message.
– Components :
• To conduct backend processes for specific business logic.
• Components route messages to the correct application.
• Components don’t have to have any Mule-specific code.
• They can simply be POJOs, Spring beans, Java beans, Groovy scripts, or web
services containing the business logic for processing data.
• Components can even be developed in other languages such as Python, JavaScript,
Ruby, and PHP.
Mule Concepts : Message Processors
• Message Processors are grouped in below categories:
– Filters :
• To filter out the messages based on the set criteria.
– Scopes :
• To "wrap" around several message processors together as a single unit.
E.g. Cache the result of the processing they perform
– Routers :
• To send messages down different paths in your application depending on the
content of the message payload.
– Mainly Mule Expression Language is used to
extract information about the message or its
environment and instruct Mule to make
processing decisions based on that information.

More Related Content

PPTX
Mule enterprise service introduction
PPTX
Introduction to mule esb
PPTX
Elements in a mule flow
PPTX
Vm component in mule demo
PPTX
Introduction to mule esb
PPTX
Mule esb
PPTX
Send email attachment using smtp in mule esb
PPTX
Mule soa
Mule enterprise service introduction
Introduction to mule esb
Elements in a mule flow
Vm component in mule demo
Introduction to mule esb
Mule esb
Send email attachment using smtp in mule esb
Mule soa

What's hot (18)

PPTX
Mule integration
PPTX
Mule esb
PPTX
Mule velocity
PPTX
Mule message structure
PPTX
Mule rabbit mq
PPTX
Rabbit Mq in Mule
PPTX
Mule Jetty transport
PPTX
Until successful component in mule
PPTX
Using flows for service orchestration
PPTX
File component in mule
PPTX
Mule chapter2
PPTX
Connectors in mule
PPTX
Mule high availability (ha) cluster
PPTX
Testing mule
PPTX
Mule requester
PPTX
Mule advanced
PPTX
Mulesoft idempotent Message Filter
PPTX
Message properties component in mule
Mule integration
Mule esb
Mule velocity
Mule message structure
Mule rabbit mq
Rabbit Mq in Mule
Mule Jetty transport
Until successful component in mule
Using flows for service orchestration
File component in mule
Mule chapter2
Connectors in mule
Mule high availability (ha) cluster
Testing mule
Mule requester
Mule advanced
Mulesoft idempotent Message Filter
Message properties component in mule
Ad

Viewers also liked (20)

PPTX
Mule concepts components
PPTX
Mule message
ODP
Fetch records from mysql using mule esb
PDF
Mule ESB Fundamentals
PDF
Mule ESB - Integration Simplified
PPTX
Mule esb - How to connect to a MySql Database in 5 minutes
PPT
Mule security - jaas
PPTX
Webservice vm in mule
PPTX
Mule integration-application
PPTX
Mule ESB Tutorial Part 3
PPTX
Mule esb basic introduction
PPTX
Mule debugging managing_stack_traces
PPTX
Mule mel 1
PPTX
Mule concepts filters scopes_routers
PPTX
Mule concepts connectors
PPTX
Mule scopes 2
PPTX
Mule scopes 1
PPTX
Summer School: Achievements and Applications of Contemporary Informatics, Mat...
PPT
Mulethenewtechnology 12549172699166-phpapp03-160421133841
PPTX
Mule debugging logging_configuration_in_mule
Mule concepts components
Mule message
Fetch records from mysql using mule esb
Mule ESB Fundamentals
Mule ESB - Integration Simplified
Mule esb - How to connect to a MySql Database in 5 minutes
Mule security - jaas
Webservice vm in mule
Mule integration-application
Mule ESB Tutorial Part 3
Mule esb basic introduction
Mule debugging managing_stack_traces
Mule mel 1
Mule concepts filters scopes_routers
Mule concepts connectors
Mule scopes 2
Mule scopes 1
Summer School: Achievements and Applications of Contemporary Informatics, Mat...
Mulethenewtechnology 12549172699166-phpapp03-160421133841
Mule debugging logging_configuration_in_mule
Ad

Similar to Mule concepts flows (20)

PPTX
Mule fundamentals
PPTX
Mule concepts
PPTX
Mule concepts
PPTX
Mule slides
PPTX
PPTX
Sai mule esb batch
PPTX
Mule esb
PPTX
Mule esb kranthi
PPTX
Esb process
PPTX
Mule esb kranthi
PPTX
PPTX
Ashok mule esb
PPTX
Niranjan mule esb
PPTX
Mule esb naveen
PPTX
Elements in a muleflow
PPTX
Mule esb overview
PPTX
Muleflowarchitecture
PPTX
Srilekha mule esb
PPT
Mule esb presentation 2015
PPTX
Mule soft ppt
Mule fundamentals
Mule concepts
Mule concepts
Mule slides
Sai mule esb batch
Mule esb
Mule esb kranthi
Esb process
Mule esb kranthi
Ashok mule esb
Niranjan mule esb
Mule esb naveen
Elements in a muleflow
Mule esb overview
Muleflowarchitecture
Srilekha mule esb
Mule esb presentation 2015
Mule soft ppt

More from kunal vishe (20)

PPTX
Mule data weave_10
PPTX
Mule data weave_7
PPTX
Mule data weave_8
PPTX
Mule data weave_6
PPTX
Mule data weave_5
PPTX
Mule data weave_4
PPTX
Mule data weave_3
PPTX
Mule data weave_2
PPTX
Mule mel 5_tips
PPTX
Mule mel 4_tips
PPTX
Mule mel 3
PPTX
Mule mel 2
PPTX
Mule scopes request_response_scope
PPTX
Mule scopes foreach_scope
PPTX
Mule scopes async_scope
PPTX
Mule debugging logging_in_mule
PPTX
Mule error handling_rollback exception strategy
PPTX
Mule error handling_choice exception strategy
PPTX
Mule concepts exception strategies
PPTX
Mule concepts transformers
Mule data weave_10
Mule data weave_7
Mule data weave_8
Mule data weave_6
Mule data weave_5
Mule data weave_4
Mule data weave_3
Mule data weave_2
Mule mel 5_tips
Mule mel 4_tips
Mule mel 3
Mule mel 2
Mule scopes request_response_scope
Mule scopes foreach_scope
Mule scopes async_scope
Mule debugging logging_in_mule
Mule error handling_rollback exception strategy
Mule error handling_choice exception strategy
Mule concepts exception strategies
Mule concepts transformers

Recently uploaded (20)

PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
Teaching material agriculture food technology
PDF
Mushroom cultivation and it's methods.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
Machine Learning_overview_presentation.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Spectroscopy.pptx food analysis technology
Assigned Numbers - 2025 - Bluetooth® Document
Building Integrated photovoltaic BIPV_UPV.pdf
Empathic Computing: Creating Shared Understanding
Programs and apps: productivity, graphics, security and other tools
Teaching material agriculture food technology
Mushroom cultivation and it's methods.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
cloud_computing_Infrastucture_as_cloud_p
Machine Learning_overview_presentation.pptx
Machine learning based COVID-19 study performance prediction
NewMind AI Weekly Chronicles - August'25-Week II
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
Per capita expenditure prediction using model stacking based on satellite ima...
Group 1 Presentation -Planning and Decision Making .pptx
1. Introduction to Computer Programming.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
Spectroscopy.pptx food analysis technology

Mule concepts flows

  • 2. • Based on the concept of Event Driven Architecture (EDA). • Works by responding to messages initiated by external resources (such as, events). • Mule applications accept and process events as messages through several message processors plugged together in a flow. • Large or streaming messages can be processed as records in a batch job. Mule Concepts : Intro
  • 3. • Every Mule flow contains a series of message processors that accept, then process messages. • Mule applications usually contain multiple linked flows and/or batch jobs. • These applications perform the integration required for the use case. Mule Concepts : Intro
  • 4. Mule Concepts : Intro • Every Mule Applications can consists of below : – Flows – Batch Jobs
  • 5. Mule Concepts : Flows • A flow is the construct within which you link together several individual elements to handle the receipt, processing, and eventual routing of a message. • Flows are sequences of message-processing events. • A message that enters a flow may pass through a wide variety of processors. • Multiple flows can be connected together to build a complete application.
  • 6. Mule Concepts : Flows • As shown in below diagram, each flow consists of: – Message Source – Message Processors
  • 7. Mule Concepts : Batch Jobs • A top-level element in Mule that exists outside all Mule flows. • provides record I/O for Mule message processing. • Batch jobs split large messages into records which Mule processes asynchronously. • Just as flows process messages, batch jobs process records.
  • 8. Mule Concepts : Batch Jobs • Contains one or more batch steps. • Each batch step contains any number of message processors that act upon records as they move through the batch job. • record-level variables (recordVars) and MEL (Mule Expression Language) expressions to enrich, route or otherwise act upon records.
  • 9. Mule Concepts : Batch Jobs • A batch job is executes when : – Triggered by a batch executor in a Mule flow, or – Message source in a batch-accepting input. • When triggered, Mule creates a new batch job instance. • Once every record has passed through all batch steps, the batch job instance ends and the batch job result can be summarized in a report. • Report indicates which records succeeded and which failed.
  • 10. Mule Concepts : Message Sources • Mule processes messages, also known as events, which may be transmitted from resources external to Mule. • First building block of most flows or batch jobs is a message receiver. • Receiver receives new messages and places them in the queue for processing. • These Receivers are the Message Sources. • Message Sources on receiving of the messages from one or more external sources trigger the execution of the flow or the batch job.
  • 11. Mule Concepts : Message Sources • Message sources in Mule are usually Anypoint Connectors. • Anypoint Connectors elements provide connectivity to a specific external source. • The connectivity is provided via a standard protocol (such as HTTP, FTP, SMTP) or a third- party API (such as Salesforce.com, Twitter, or MongoDB.)
  • 12. Mule Concepts : Message Processors • Mule processors are the elements which acts on the received messages and perform operations to modify the message or to create a new one. • In Mule, message processors are grouped together by category.
  • 13. Mule Concepts : Message Processors • Message Processors are grouped in below categories: – Message Transformers : • key to exchanging data between nodes • Allow Mule to convert message payload data to a format that another application can understand. • Through Message Enrichers Mule enables to retrieve additional data during processing and attach it to the message. – Components : • To conduct backend processes for specific business logic. • Components route messages to the correct application. • Components don’t have to have any Mule-specific code. • They can simply be POJOs, Spring beans, Java beans, Groovy scripts, or web services containing the business logic for processing data. • Components can even be developed in other languages such as Python, JavaScript, Ruby, and PHP.
  • 14. Mule Concepts : Message Processors • Message Processors are grouped in below categories: – Filters : • To filter out the messages based on the set criteria. – Scopes : • To "wrap" around several message processors together as a single unit. E.g. Cache the result of the processing they perform – Routers : • To send messages down different paths in your application depending on the content of the message payload. – Mainly Mule Expression Language is used to extract information about the message or its environment and instruct Mule to make processing decisions based on that information.