From eb5cb4e3c39f1092cc1d8aaabf7da9401d2ca0f0 Mon Sep 17 00:00:00 2001 From: bdaniel Date: Wed, 20 Oct 2010 21:52:18 +0000 Subject: 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 --- .../runtime/OperationSelectorJMSDefaultServiceInterceptor.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sca-java-2.x/trunk') 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 -- cgit v1.2.3