You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2006/11/03 11:05:17 UTC
[jira] Updated: (QPID-58) Creating a QueueReceiver results in
ClassCastException
[ http://issues.apache.org/jira/browse/QPID-58?page=all ]
Marnie McCormack updated QPID-58:
---------------------------------
Added QueueReceiverAdaptor class to client package and amended appropriate AMQSession methods to return the adapter. Also fixed a createSubscriber methods to return TopicSubscriberAdaptor (they were previously attempting to cast a BasicMessageConsumer).
Don't think there are any currently any tests that exercise these methods.
> Creating a QueueReceiver results in ClassCastException
> ------------------------------------------------------
>
> Key: QPID-58
> URL: http://issues.apache.org/jira/browse/QPID-58
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Reporter: Robert Greig
> Assigned To: Marnie McCormack
> Fix For: M1
>
>
> AMQSession.createReceiver(Queue) will always throw a ClassCastException since BasicMessageConsumer does not implement javax.jms.QueueReceiver.
> I think that, as we did in the TopicReceiver case, we should just create an adapter class.
--
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