Skip to content

Request JMS correlation id field not used to set response message JMS correlation id [SWS-534] #660

@gregturn

Description

@gregturn

Gary Flood opened SWS-534 and commented

In JmsReceiverConnection.onSendBeforeWrite(...) the following code sets the response correlation id field :-

responseMessage.setJMSCorrelationID(requestMessage .getJMSMessageID());

There does not seem to be a check on the inbound request's correlation id as in the following code from JmsInvokerServiceExporter.createResponseMessage(.. .)

String correlation = request.getJMSCorrelationID();
if (correlation == null) {
correlation = request.getJMSMessageID();
}
response.setJMSCorrelationID(correlation);

The above logic has also been implemented in MessageListnenerAdapter and I am looking for the same behaviour in JmsReceiverConnection.onSendBeforeWrite(...).

This seems to be related to http://jira.springframework.org/browse/SPR-4647


Affects: 1.5.4

Reference URL: http://forum.springsource.org/showthread.php?p=247490#post247490

Referenced from: commits b80f3b0

1 votes, 0 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions