1.

What is Subflow in mule?

Answer»

Using the flow-reference element of MULE, we can call a subflow. When the sublow is called using a flow-reference element by the main flow, the entire message structure (ATTACHMENTS, payload, properties, etc.) is passed ALONG with the context (transactions, SESSION, etc.) Similarly, the entire message along with the context is returned to the main calling flow after the processing of the message is done in the subflow. 

FOLLOWING are some features of Subflow:

  • Subflows are very useful when you want to add re-usable logic, as you can call sub-flows multiple times.
  • Referring subflows gives better performance than referring a flow.
  • Subflows don’t have event sources. 


Discussion

No Comment Found