Announcement Announcement Module
Collapse
No announcement yet.
SOAP/JMS correlation id not mapped in response message Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Defect raised

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

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

    Gary.

    Comment


    • #3
      Originally posted by gflood View Post
      I now believe this is a bug and have raised the following on jira :-

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

      Gary.

      Hi,

      I am getting an issue where the responseMessage sent to replyQueue in onSendAfterWrite of JMSReceiverConnection is TextMessage[ID:<507866.1373381341790.0>, null], I have updated my code details in below page,

      http://stackoverflow.com/q/17551456/2564953, could you please take a look and help me finding what is going wrong here?

      Prabhu
      Last edited by kesavaprabhu; Jul 10th, 2013, 09:45 AM. Reason: changed the content

      Comment


      • #4
        Hi,

        This is fixed from spring-ws-core 1.5.3. I was using spring-ws-core 1.5.1. Thanks for taking a look to resolve it.

        Prabhu

        Comment

        Working...
        X