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/07 12:44:50 UTC

[jira] Resolved: (QPID-58) Creating a QueueReceiver results in ClassCastException

     [ http://issues.apache.org/jira/browse/QPID-58?page=all ]

Marnie McCormack resolved QPID-58.
----------------------------------

    Resolution: Fixed

Added AMQSession and AMQConnection test classes to exercise QueueReciever creation code.  

> 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