summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorbdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68>2010-10-20 21:52:18 +0000
committerbdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68>2010-10-20 21:52:18 +0000
commiteb5cb4e3c39f1092cc1d8aaabf7da9401d2ca0f0 (patch)
tree8281106ad0831888c3e0a1afae20a7f6eb2988a3 /sca-java-2.x/trunk
parent481031ebbed27c38f02bd3259c341308724c5cce (diff)
TUSCANY-3736 BJM_4010 Make sure that the operationProperties selectedOperation attribute is considered when selecting an operation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1025772 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java
index cefba467e0..aae81fbac1 100644
--- a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java
+++ b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java
@@ -107,6 +107,12 @@ public class OperationSelectorJMSDefaultServiceInterceptor implements Intercepto
if (op.getName().equals(operationName)) {
operation = op;
break;
+ } else {
+ String nativeName = jmsBinding.getNativeOperationName(op.getName());
+ if (( nativeName != null ) && ( nativeName.equals(operationName)) ) {
+ operation = op;
+ break;
+ }
}
}
} else if (jmsBinding.getRequestWireFormat() instanceof WireFormatJMSDefault