Qpid
  1. Qpid
  2. QPID-3108

QueueSender incorrectly checks for null queue

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: Java Client
    • Labels:

      Description

      JMS documents that you can create a QueueSender with a null queue (called an unidentified queue in the documentation) and this is fine as long as you don't try to use one fo the send methods that relies on the queue being set up at construction time.

      The current code checks for null queue in the getters too and so causes erroneous UnsupportedOperationException exceptions to be throw when they are used with an unidentified queue.

        Activity

          People

          • Assignee:
            Andrew Stitcher
            Reporter:
            Andrew Stitcher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development