Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 1

...

Tip

Alternatively, you can import a mediator project. To do this, open the WSO2 EI Tooling environment, click File, and then click Import. Next, select Existing WSO2 Projects into workspace under the WSO2 category, click Next and upload the pre-packaged project. 

  1. Open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and click Miscellaneous -> Create Mediator Project in the Enterprise Service Bus area.Image Removed 
  2. Leave the first option selected and click Next. The New Mediator Creation Wizard appears.
    Image Removed
    Image Added

  3. Do the following:
    1. Enter Type a unique name for the project.
    2. Specify the package and class names you are creating.
    3. Optionally specify the location where you want to save the project (or leave the default location specified).
    4. Optionally specify the working set, if any, that you want to include in this project.
  4. A Maven POM file will be generated automatically for this project. If you want to include parent POM information in the file from another project in this workspace, click Next, click the Specify Parent from Workspace check box, and then select the parent project.
  5. Click Finish.

...

Follow the steps below to import a Java mediator project (that includes a Java class, which extends the org.apache.synapse.mediators.AbstractMediator class) to WSO2 Developer Studio.

  1. Open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and click Miscellaneous -> Create Mediator Project in the Enterprise Service Bus area.
  2. Select Import From Workspace and click Next.
  3. Specify the mediator project in this workspace that you want to import. Only projects with source files that extend org.apache.synapse.mediators.AbstractMediator are listed. Optionally, you can change the location where the mediator project will be created and add it to working sets.
  4. Click Finish.

...

Info

The mediator projects you create using WOS2 Developer Studio are of the org.wso2.developerstudio.eclipse.artifact.mediator.project.nature nature by default. Follow the steps below to view this nature added to the <PROJECT_NAME>/target/.project file of the Java mediator project you imported.

  • Click the View Menu icon, and click Filters and Customization Customize View.
    Image RemovedImage Added
  • Deselect .*resources, and click OK.
    Image Added