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. 

Flow

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. 

sub-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

More To Explore

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
18 King Street E, Suite 1400, Toronto ON M5C 1C4, Canada

USA Office
5900 Balcones Dr, STE 4000, Austin, TX 78731, USA

Phone: +1(877) 855-8775
Email: info@plektonlabs.com

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