Skip to content

JmsSenderConnection does not correlate response messages on permanent response queues [SWS-383] #535

@gregturn

Description

@gregturn

Arjen Poutsma opened SWS-383 and commented

When using a permanent response queue, the client-side JMS transport currently selects the first available messages on said queue. This is undesired behavior.

Instead, we should use a message selector to receive responses which have a correlation id that is equal to the request message. This is only required for permanent queues; temporary queues don't have this problem.

See http://forum.springframework.org/showthread.php?p=187209 and http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200701.mbox/raw/%3C80A43FC052CE3949A327527DCD5D6B27020FB65C@MAIL01.bedford.progress.com%3E/3#rr-requester-request, stating

"A correlated response message is one where the value of the JMSCorrelationID header field is the same as the value of the JMSMessageID of the request message."


Affects: 1.5, 1.5.1, 1.5.2

Referenced from: commits 045a85a

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions