[
https://issues.apache.org/jira/browse/QPID-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Ritchie resolved QPID-231.
---------------------------------
Resolution: Fixed
Revision: 490872
Author: vinoski
Date: 23:42:59, 28 December 2006
Message:
apply patch for QPID-231
----
Modified :
/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/QueueSenderAdapter.java
> QueueSession.createSender() should allow a null Queue name.
> -----------------------------------------------------------
>
> Key: QPID-231
> URL: https://issues.apache.org/jira/browse/QPID-231
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Reporter: Suresh Kodichath
> Attachments: QueueSenderAdapterPatch.patch
>
>
> 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:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira