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

        Andrew Stitcher created issue -
        Andrew Stitcher made changes -
        Field Original Value New Value
        Fix Version/s 0.9 [ 12315382 ]
        Andrew Stitcher made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robbie Gemmell made changes -
        Labels jms_compliance
        Robbie Gemmell made changes -
        Component/s JMS Compliance [ 12311501 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development