You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Tomas Restrepo (JIRA)" <qp...@incubator.apache.org> on 2007/02/03 16:09:05 UTC
[jira] Updated: (QPID-345) Implement Blocking receive modes in
BasicMessageConsumer
[ https://issues.apache.org/jira/browse/QPID-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomas Restrepo updated QPID-345:
--------------------------------
Attachment: QPID-345.diff
Simple patch. I implemented a simpler queue (ConsumerProducerQueue) instead of fleshing out all the missing bits of SynchronousQueue because it also did a lot of things that really were not required to implement the message consumer functionality. The replacement class is simpler, and thus means less code and easier to maintain.
I think we could potentially get rid of BlockingQueue and SynchronousQueue now, though I haven't checked for sure.
With the patch, blocking receive calls with and without timeouts work. Added new unit test class to support functionality added.
> Implement Blocking receive modes in BasicMessageConsumer
> --------------------------------------------------------
>
> Key: QPID-345
> URL: https://issues.apache.org/jira/browse/QPID-345
> Project: Qpid
> Issue Type: Improvement
> Components: Dot Net Client
> Affects Versions: M2
> Environment: .NET 1.1 and 2.0
> Reporter: Tomas Restrepo
> Priority: Minor
> Attachments: QPID-345.diff
>
>
> The current trunk build does not support fully blocking receives (with or without timeout) because of the incomplete implementation of SynchronousQueue
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.