Hi This is regarding the debugging of the java callout
Q) Can I do remote step-debugging of a Java callout (via JMX). If so, how.
No, you cannot.
Yes, you can.
You need an access to edge-message-processor component configuration and setting. You also need to make sure that you can access debug port from your development computer.
To setup remote debugging for your Java Callout:
1. Configure CWC setting for jvm debugging agent.
/opt/apigee/customer/application/message-processor.properties
bin_setenv_ext_jvm_opts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
2. Configure your favorite IDE remote debugging configuration. Point it to your MP node and port.
3. Put a breakpoint in your callout code.
4. Fire a request to hit your proxy and java callout.
haha, yes, Yuri. Thank you.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |