Author: objectiser
Date: 2010-01-27 12:32:53 -0500 (Wed, 27 Jan 2010)
New Revision: 480
Modified:
branches/ODE/ODE-1.x-fixes/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MyRoleMessageExchange.java
branches/ODE/ODE-1.x-fixes/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/MyRoleMessageExchangeImpl.java
Log:
Related to RIFTSAW-156 - need to make the ProcessConf available during handling the
invoke, to be able to access the endpoint specific configuration properties.
Modified:
branches/ODE/ODE-1.x-fixes/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MyRoleMessageExchange.java
===================================================================
---
branches/ODE/ODE-1.x-fixes/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MyRoleMessageExchange.java 2010-01-27
08:32:01 UTC (rev 479)
+++
branches/ODE/ODE-1.x-fixes/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MyRoleMessageExchange.java 2010-01-27
17:32:53 UTC (rev 480)
@@ -58,6 +58,11 @@
CorrelationStatus getCorrelationStatus();
/**
+ * This method provides access to the BPEL process configuration.
+ */
+ public ProcessConf getProcessConf();
+
+ /**
* "Invoke" a process hosted by the BPEL engine. The state of the
invocation
* may be obtained by a call to the {@link MessageExchange#getStatus()}
* method. It is possible that the response for the operation is not
Modified:
branches/ODE/ODE-1.x-fixes/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/MyRoleMessageExchangeImpl.java
===================================================================
---
branches/ODE/ODE-1.x-fixes/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/MyRoleMessageExchangeImpl.java 2010-01-27
08:32:01 UTC (rev 479)
+++
branches/ODE/ODE-1.x-fixes/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/MyRoleMessageExchangeImpl.java 2010-01-27
17:32:53 UTC (rev 480)
@@ -38,6 +38,7 @@
import org.apache.ode.bpel.iapi.MessageExchange;
import org.apache.ode.bpel.iapi.MyRoleMessageExchange;
import org.apache.ode.bpel.iapi.Scheduler;
+import org.apache.ode.bpel.iapi.ProcessConf;
import org.apache.ode.bpel.iapi.ProcessConf.CLEANUP_CATEGORY;
import org.apache.ode.bpel.intercept.AbortMessageExchangeException;
import org.apache.ode.bpel.intercept.FaultMessageExchangeException;
@@ -69,6 +70,10 @@
void setCorrelationStatus(CorrelationStatus status) {
getDAO().setCorrelationStatus(status.toString());
}
+
+ public ProcessConf getProcessConf() {
+ return(_process.getConf());
+ }
/**
* Process the message-exchange interceptors.