Skip to content

Commit

Permalink
Fix for JIRA TUSCANY 4019 - remote scsOperationName from response mes…
Browse files Browse the repository at this point in the history
…sages.

git-svn-id: https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk@1293172 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Jennifer Thompson committed Feb 24, 2012
1 parent d83dc84 commit 665b6df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Expand Up @@ -175,15 +175,6 @@ public Message processResponse(Message msg) {

javax.jms.Message responseMsg = msg.getBody();
try {
// Operation name...
String operationName = responseMsg.getStringProperty("scaOperationName");
for( Operation op : operations ) {
if( operationName.equals(op.getName())) {
msg.setOperation(op);
break;
} // end if
} // end for

// Relates to header...
String relatesTo = responseMsg.getStringProperty("RELATES_TO");
if( relatesTo != null ) {
Expand Down
Expand Up @@ -77,8 +77,6 @@ public Message invokeResponse(Message tuscanyMsg) {

Operation operation = tuscanyMsg.getOperation();
String operationName = operation.getName();

responseMessageProcessor.setOperationName(operationName, jmsMsg);

for (String propName : jmsBinding.getPropertyNames()) {
Object value = jmsBinding.getProperty(propName);
Expand Down

0 comments on commit 665b6df

Please sign in to comment.