diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-07 19:34:13 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-07 19:34:13 +0000 |
commit | bf73d25992cc5075f8e68164934eaec43b4350c3 (patch) | |
tree | 1d840ee4e64a7fb8b0a601bc2056a676bcbb9a22 | |
parent | 67f145402763e4160b1211a129f7eb0650c0d967 (diff) |
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
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsdefault/runtime/WireFormatJMSDefaultServiceInterceptor.java | 8 |
1 files changed, 0 insertions, 8 deletions
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; |