I would like to have configurable (with ode-axis2.properties) option to manage MEX timeouts, instead of currently used:
public static final int TIMEOUT = 2 * 60 * 1000;
For example while profiling some BPEL process, this timeout is not enough, and process exits with:
13:23:24,156 ERROR ODEService.onAxisMessageExchange(148) : Timeout or execution error when waiting for response to MEX {MyRoleMex#hqejbhcnphr38ev26lux7j [Client hqejbhcnphr38ev26lux7i] calling {
http://www.comped.it/registerUser}registerUser.registerUser(...)} java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$
ResponseFuture@62812d timed out when waiting for a response!
This issue has probably something in common with
ODE-263It would be nice if this timeout has something is common with particular MEX.
So I would add some class to ode-xxx.properties which would determine timeout value for particular MEX instead of a static value.