1.

What is the difference between Flow and Subflow in mule?

Answer»
FlowSubflow
A private flow has its own strategy for exception HANDLING. It also does not have a source defined. 1. ALTHOUGH a sublow processes messages synchronously, it GETS the strategy of processing and of exception handling from the calling flow. 
Flows can have sources (such as HTTP Listener to RECEIVE a request) that trigger the flow execution.2. Subflows don’t have event sources. For example, you can’t PLACE an HTTP Listener in subflow.
Referring flows gives a performance not as good as compared to subflows.3. Referring subflows gives better performance
Each flow can have its own error handling.4. Subflows don’t have an error handling. It inherits the error handling strategy from parent flow.


Discussion

No Comment Found