Flow Ref Component Reference
Use a flow reference component in flow to direct Mule to send a message to another flow for processing. When a message reaches a flow reference component in a flow, Mule sends the message to another flow according to the flow ref attribute.
A flow reference can route messages to any type of flow within the same application. Refer to Child Flows for more information.
- Place the flow reference component on the canvas at the point where you want the current flow to call another flow.
- Open the flow reference component's properties pane to configure it according to the table below.
|Display Name||Flow Reference||Customize to display a unique name for the component in your application.|
|Flow name||Mule will auto-populate this drop-down with the flow names in your application||Select the name of the flow that you want to invoke using this flow reference.|
flow-ref element to your flow, then configure its attributes according to the table below. Refer to code sample below.
|flow-ref||Insert the flow-ref element into your code at the point where you want the current flow to call another flow.|
|name||Specify the name of the flow that you want to invoke using this flow reference.|
Customize to display a unique name for the component in your application.
Note: Attribute not required in Mule Standalone configuration.
- Read more about the different kinds of Child Flows that you can call using a flow reference component.