Use the Error Handler sample to convert a subflow created as a .msgflow file to a .subflow file by using the Convert to subflow function in WebSphere® Message Broker.
Set up the initial configuration. See Creating the initial configuration for the Error Handler sample.
The Error Handler sample has been migrated from WebSphere Message Broker Version 7. It includes a legacy subflow that needs to be converted to a subflow created as a .subflow file. This subflow does not contain additional legacy resources that might require conversion before you can convert it. The following figure illustrates the starting point before conversion where your starting point is a message flow named Main_Flow.msgflow and a subflow named Error_Handler.msgflow:
You must complete the following steps to convert the Error_Handler.msgflow subflow into a subflow created as a .subflow file:
After the conversion completes, verify that the initial subflow disappears from the Flows folder, and the converted subflow appears under the Subflows folder.
Verify that the message flow includes the subflow as a node.