QueueSender incorrectly checks for null queue
---------------------------------------------

                 Key: QPID-3108
                 URL: https://issues.apache.org/jira/browse/QPID-3108
             Project: Qpid
          Issue Type: Bug
          Components: Java Client, JMS Compliance
    Affects Versions: 0.8
            Reporter: Andrew Stitcher
            Assignee: Andrew Stitcher


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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to