qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Kodichath (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-231) QueueSession.createSender() should allow a null Queue name.
Date Wed, 27 Dec 2006 20:47:20 GMT
QueueSession.createSender() should allow a null Queue name.

                 Key: QPID-231
                 URL: http://issues.apache.org/jira/browse/QPID-231
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Suresh Kodichath

AMQ(JMS)Session::createSender() should allow for a null Queue name, as per the JMS specification.
Currently while Qpid allows QueueSenderAdapter to be created with a null queue_name, any usage
of this QueueSenderAdapter raises an Exception. For example: QueueSenderAdapter::setTimeToLive()
on this new object will generate an UnsupportedOperationException("Queue is null").  This
is not specific to TimeToLive which is not yet implemented.
Removing the check for queue == null in checkPreConditions fixes this issue, and the tests
pass as well for using it this way.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message