summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjennthom <jennthom@13f79535-47bb-0310-9956-ffa450edef68>2012-02-24 10:45:15 +0000
committerjennthom <jennthom@13f79535-47bb-0310-9956-ffa450edef68>2012-02-24 10:45:15 +0000
commit6512c20e5ef0261436522fea93c4fa31a0fc0183 (patch)
tree2ec96f4eb869f6d57fabfbb7f0421eda2db5ecde
parentf46dc97c15a4b8fd0a58a96a4f7080ae8648c0a8 (diff)
Fix for JIRA TUSCANY 4019 - remote scsOperationName from response messages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1293172 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderReferenceInterceptor.java9
-rw-r--r--sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderServiceInterceptor.java2
2 files changed, 0 insertions, 11 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderReferenceInterceptor.java b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderReferenceInterceptor.java
index 87c6ddd08b..5c84d665ca 100644
--- a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderReferenceInterceptor.java
+++ b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderReferenceInterceptor.java
@@ -175,15 +175,6 @@ public class HeaderReferenceInterceptor extends InterceptorAsyncImpl {
javax.jms.Message responseMsg = msg.getBody();
try {
- // Operation name...
- String operationName = responseMsg.getStringProperty("scaOperationName");
- for( Operation op : operations ) {
- if( operationName.equals(op.getName())) {
- msg.setOperation(op);
- break;
- } // end if
- } // end for
-
// Relates to header...
String relatesTo = responseMsg.getStringProperty("RELATES_TO");
if( relatesTo != null ) {
diff --git a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderServiceInterceptor.java b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderServiceInterceptor.java
index 6f1c6ed10e..5bc9b03032 100644
--- a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderServiceInterceptor.java
+++ b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/headers/HeaderServiceInterceptor.java
@@ -77,8 +77,6 @@ public class HeaderServiceInterceptor extends InterceptorAsyncImpl {
Operation operation = tuscanyMsg.getOperation();
String operationName = operation.getName();
-
- responseMessageProcessor.setOperationName(operationName, jmsMsg);
for (String propName : jmsBinding.getPropertyNames()) {
Object value = jmsBinding.getProperty(propName);