Friday, October 20, 2017

How to debug java class inside the class mediator in Wso2 Enterprise Integrator(EI)

Before I do this I created API including class mediator.


Deployee car file including all file(Here I only included Esb Solution project).


Go to integrator.bat file location(<ESB_HOME>/bin) in command prompt and run bellow line.


integrator.bat -debug 5005     (Here you can enter any port what you need).


After this go to java class.


Select Run in menu bar -> Debug Configuration.. ->Right click on Remote Java Application in the left side

     ->New ->Enter  5005 popup window port location ->click Debug

Description Images



Image_01
sdwad




















Image_02


When Finished command prompt run statement you will able to see like this line 
as usually
 INFO - CarbonUIServiceComponent Mgt Console URL  : https://192.168.120.160:9443/carbon/ 

After this send request your API. Then You can see debug mode in the java class.
Thank you

















No comments:

Post a Comment