Versions Compared

Key

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

...

Info

From ESB 4.8.1 onwards, a URL classloader is used to load classes in the mediator (class mediators are not deployed as OSGi bundles). Therefore, it is only possible to refer to the class mediator from artifacts packed in the same CAR file in which the class mediator is packed. Accessing the class mediator from an artifact packed in another CAR file is not possible. However, it is possible to refer to the class mediator from a sequence packed in the same CAR file and call that sequence from any other artifact packed in other CAR files.

Anchor
create-mediator
create-mediator
Creating a mediator project

Follow these steps to create a new mediator. Alternatively, you can import a 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.
  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.

...