Raaghu Raaghu - 9 months ago 30
Java Question

How to run Custom application in WSO2 ESB

I have wso2 ESB as one of the ESB option to develop/deploy application, but I don't see any documentation which explains how to deploy a normal (not web, not ws...) main class in wso2 ESB and see the status of the same.

Can anyone suggest how to run some simple java application -- like a file reader and see/monitor the application status/log in ESB ?

Appreciate any help.

Thanks and Regards
Raaghu.K

Answer Source

You can execute your custom java code in WSO2ESB using "class" mediator and calling your custom class, see https://docs.wso2.com/display/ESB481/Class+Mediator and https://docs.wso2.com/display/ESB481/Writing+a+WSO2+ESB+Mediator