qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marnie McCormack (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-58) Creating a QueueReceiver results in ClassCastException
Date Fri, 03 Nov 2006 10:05:17 GMT
     [ 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

        

Mime
View raw message