Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-2277

JMS Message Id in request message context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.2
    • JMS transport
    • None
    • Windows XP

    Description

      The correlation id on a JMS message is not set correctly. It appears that this is occuring because the mesage id is not set on creation of the request message context (JMSMessageReceiver.createMessageContext). I added the following line of code and it appears to have fixed the problem.

      private MessageContext createMessageContext(Message message) {

      InputStream in = JMSUtils.getInputStream(message);

      try {
      MessageContext msgContext = new MessageContext();
      .....
      msgContext.getOptions().setMessageId(message.getJMSMessageID());

      Attachments

        Activity

          People

            asankha Asankha Chamath Perera
            turnerj John Turner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: