Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6929

[Java Client] Verify that destination returned by javax.jms.Message#getJMSDestination() for moved and copied messages is the same as original destination set on message sending

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • qpid-java-6.1
    • None
    • None

    Description

      Existing test org.apache.qpid.test.client.message.JMSDestinationTest#testMovedToQueue() only tests that type of destination returned from Message#getJMSDestination() for moved message is the same as type of destination the message was sent to. It does not really verify that destination Message#getJMSDestination() is the same for sent and received messages.
      As part of the JIRA the following needs to be done:

      • verify what exactly returned from Message#getJMSDestination() for moved/copied messages
      • improve testing of Message#getJMSDestination() for moved/copied messages
      • if behavior is not complaint with JMS spec, we might need to fix it

      Attachments

        Activity

          People

            Unassigned Unassigned
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: