I need to invoke a custom java class using WSO2 esb. The class takes an input parameter as a string and returns the XmlObject from the method.

How to achieve this using WSO2 and which mediator to use for the same?

regards
Amit Pawar.