In this sample scenario, you will use a Sequence Template and reuse it in multiple places of the medation flow. You can reuse the mediation flow that was defined in the Sending a Simple Message to a Service tutorial and then replace its sections with the sequence template. See Creating Templates for details on how to work with templates using WSO2 Integration Studio.
Tip | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Before you begin,
|
Let's get started!
Table of Contents |
---|
...
Open the
pom.xml
file under the SampleServicesCompositeApplication project from the project explorer.See that the newly added 'HospitalRoutingSeq' artifact is listed under Dependencies. Select this artifact to add it to the composite application project.
Save your changes.
Open the Getting Started view and click Miscellaneous →Add New Server to open the New Server dialog.
- In the New Server dialog, expand the WSO2 folder and select the version of your server.
- Click Next. In the CARBON_HOME field, provide the path to your product's home directory, and then click Next again.
Review the default port details for your server and click Next.
To deploy the CApp project to your server, select the SampleServicesCompositeApplication project from the list, click Add to move it into the configured list, and then click Finish.
On the Servers tab, note that the server is currently stopped. Click the 'play' icon on the tool bar. If prompted to save changes to any of the artifact files you created earlier, click Yes.
As the server starts, the Console tab appears. Note messages indicating that the composite app was successfully deployed.
...