Flow vs Private Flow vs Sub Flow in Mule 4

What is Flow?

  • A Flow has source , process and error handling part.

  • Souce is mandatory in a flow

What is Private Flow?

  • A private flow with no source but has process and error handling part.

  • Source needs to be empty in private flow

  • Private flow is called using flow reference

What is Sub Flow?

  • A Sub Flow has no source and error handling part.

  • It has only process part.

  • Sub flow is called by flow reference.