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
This commit is contained in:
antelder 2012-02-07 19:34:13 +00:00
parent 67f1454027
commit bf73d25992

View file

@ -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;