Mule flow, sub-flow and Error handling

A mule application can have single or multiple mule flows. Mule applications can be completed using only flow or flows. It not necessary to use sub-flow.

A Mule Flow has three sections:

Source: This section contains the connector such as Listener, Scheduler.

Process:  Contains any kind of components, connectors, or message processors which needs to achieve a problem. 


Error handling: Handle the error occurs in the Process.

A sub-flow has only one section.

sub-flow doesn’t have any event sources and error handler section. sub-flow can be used as a reference flow of a Mule flow. 


Error Handling: Every Mule flow has it’s own Error Handling section where as sub-flow doesn’t have. If any error occurred in the sub-flow, it will propagate the error to the parent flow by default. The error will be handled according the implementation in the parent flow Error handling section.


Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

More To Explore


The Use of APIs in the Business Supply chain

Supply chains that mostly rely on legacy EDI (electronic data interchange) systems, a technology introduced over half a century ago to support communication with business


The 5 Foundations of API Governance

For many, governance is a necessary but tedious task. But when done right, governance offers a clear direction, breaks down barriers, and enables different parts

How can we help?

A little about yourself and we're ready to go

We pride ourselves on swift communication and prompt responses. Let us know what you're thinking and how we can help you.

Contact Information​

Head Office
75 Cornwall Drive, Ajax ON L1T3G2

Toronto Office
602 – 8133 Warden Ave, Markham, ON L6G 1B3, Canada

Phone: +14168902757

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.