Importing Artifacts¶
Follow the instructions given below to import an integration artifact into ESB Integration Studio.
- Create an ESB project.
-
Right-click the ESB project, click New, and select the type of artifact you want to import. For example, let's import a REST API artifact.
-
Select the Import Artifact option and click Next.
-
Browse for the configuration file of your artifact, specify the location to save the artifact.
-
Click Finish.
The artifacts are created in the src/main/synapse-config/<artifact_type>
folder under the ESB project you specified.
Note
When importing artifacts with custom mediators, make sure the custom mediator name starts with the "CUSTOM_" prefix.
Example
<proxy name="example_proxy" startOnLoad="true" transports="http" xmlns="http://ws.apache.org/ns/synapse">
<target>
<inSequence>
<log level="custom"/>
<CUSTOM_mymediator>
...
</CUSTOM_mymediator>
<log level="full"/>
</inSequence>
<outSequence/>
<faultSequence/>
</target>
</proxy>