qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chenta lee (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-1766) Implemention of selector using Xquery
Date Mon, 23 Mar 2009 12:41:50 GMT

     [ https://issues.apache.org/jira/browse/QPID-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

chenta lee updated QPID-1766:

    Attachment: selector.patch

Thank you Gordan, I fixed  the locking bug.
And Carl mention me that I still use popAnddequeue in Queue::consumNextMessage.  I also fixed

I found out that the field "Message& msg" in Queue::seek  function is unnecessary. Because
I already pass an iterator into it. So I did some modification.

However, I am curious about why do we need another message variable in popAndDequeue. Can't
we  just dequeue it first and then pop the message? Because I am not sure if store->dequeue
will modify the queue so I did the same way in earseAndDequeue.

> Implemention of selector using Xquery
> -------------------------------------
>                 Key: QPID-1766
>                 URL: https://issues.apache.org/jira/browse/QPID-1766
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker, C++ Client
>         Environment: Linux
>            Reporter: chenta lee
>         Attachments: Makefile.patch, selector.patch, selector.patch, selector_client.patch,
> I implemented the message selector for C++ broker and client using Xquery.
> I will attach an example later.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message