Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The mediator project is created in the workspace location you specified with a new mediator class that extends org.apache.synapse.mediators.AbstractMediator.

Importing a

...

Java Mediator Project 

Follow the steps below to import a mediator project that you created using WSO2 Developer Studio.

  1. Open the Developer Studio and click File in the top menu, and then click Import.
  2. Select Existing WSO2 Projects into workspace under WSO2, and click Next.
    Image Removed
  3. Click Browse in Select root directory:, and then browse and select the mediator project that you want to import. (Only projects with source files that extend org.apache.synapse.mediators.AbstractMediator are listed.)
  4. Click Finish.

Importing a Java project as a Mediator Project

If you have a Java project Java mediator project (that includes a Java class, which extends the the org.apache.synapse.mediators.AbstractMediator interface, then follow the steps below to import it to  class) to WSO2 Developer Studio.

  1. Open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and click 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 Java project you imported in the <PROJECT_NAME>/target/.project file of the project.

  • Click the View Menu icon, and click Customize View.
  • Deselect .*resources, and click OK.
Info

For information on importing a mediator project, which you created using WSO2 Developer Studio, see Importing Existing Projects.

Creating a Smooks configuration artifact

...