From bf73d25992cc5075f8e68164934eaec43b4350c3 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 7 Feb 2012 19:34:13 +0000 Subject: The operation name property is only for request messages so don't set it on the response git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1241570 13f79535-47bb-0310-9956-ffa450edef68 --- .../runtime/WireFormatJMSDefaultServiceInterceptor.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sca-java-2.x/trunk/modules/binding-jms-runtime') diff --git a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsdefault/runtime/WireFormatJMSDefaultServiceInterceptor.java b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsdefault/runtime/WireFormatJMSDefaultServiceInterceptor.java index 3427155bf0..6804333541 100644 --- a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsdefault/runtime/WireFormatJMSDefaultServiceInterceptor.java +++ b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsdefault/runtime/WireFormatJMSDefaultServiceInterceptor.java @@ -166,14 +166,6 @@ public class WireFormatJMSDefaultServiceInterceptor extends InterceptorAsyncImpl } - try { - responseJMSMsg.setStringProperty(JMSBindingConstants.DEFAULT_OPERATION_PROP_NAME, msg.getOperation().getName()); - } catch (JMSException e) { - // Not sure what to do at this point.. it doesn't make sense to create a fault message. - // Throwing a runtime exception for now. - throw new JMSBindingException(e); - } - msg.setBody(responseJMSMsg); return msg; -- cgit v1.2.3