This documentation is for WSO2 Enterprise Service Bus version 5.0.0. For the latest ESB, view the latest WSO2 Enterprise Integrator documentation.

All docs This doc

Versions Compared

Key

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

...

Excerpt
hiddentrue

The following best practices are from the following FAQ: http://docs.wso2.org/wiki/display/FAQ/Mediators#Mediators-ClassCustom. If you make changes to the content here, be sure to update it there as well.

Use The Class mediator is a custom Java class, which you need to maintain by yourself. Therefore, it is recommended to use the Class mediator only for not frequently re-used custom developments and very user-specific , custom developments only when scenarios, for which, there is no built-in mediator that already provides the required functionality. Maintaining custom classes incurs a high overhead. Therefore avoid using them unless the scenario is frequently re-used and very user-specific. Your  

Your class mediator might not be picked up and updated, if you use an existing package when creating it.

...