diff options
author | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-20 21:52:18 +0000 |
---|---|---|
committer | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-20 21:52:18 +0000 |
commit | eb5cb4e3c39f1092cc1d8aaabf7da9401d2ca0f0 (patch) | |
tree | 8281106ad0831888c3e0a1afae20a7f6eb2988a3 /sca-java-2.x/trunk/modules | |
parent | 481031ebbed27c38f02bd3259c341308724c5cce (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 '')
-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.java | 6 |
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 |