Results 1 to 2 of 2

Thread: SOAP/JMS correlation id not mapped in response message

  1. #1
    Join Date
    Jun 2009
    Posts
    4

    Question SOAP/JMS correlation id not mapped in response message

    I am setting the correlationid field in a SOAP/JMS request message but the correlationid in the response message is always set to the inbound JMS message id and NOT the inbound correlation id.

    This seems to be happening in JmsReceiverConnection.onSendBeforeWrite(...) which contains the code :-

    responseMessage.setJMSCorrelationID(requestMessage .getJMSMessageID());

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

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

    Is this a bug or is there a way to override / control this? There seems to have been a previous related issue :- http://jira.springframework.org/browse/SPR-4647

    Is this another instance of the same problem?

    The Spring-WS version I am using is v1.5.4 but the method above seems unchanged at v1.5.7. The underlying JMS provider is MQSeries.

    thanks in advance for any responses!

    Gary.

  2. #2
    Join Date
    Jun 2009
    Posts
    4

    Default Defect raised

    I now believe this is a bug and have raised the following on jira :-

    http://jira.springframework.org/browse/SWS-534

    Gary.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •