You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Rob Springer <rs...@etinternational.com> on 2010/08/16 23:20:56 UTC

Messaging API - per-message acknowledgements

All - We've been using Qpid 0.5 up to this point in our applications, and we're at the point where 
we can begin evaluating 0.6.  Since it's supposed to be "the future", we've been taking a look at 
the new messaging API, but we're hung up in one spot - we don't see (or haven't found) a means to 
acknowledge messages individually and/or out-of-order.
   Our application is heavily dependent on durable/persistent messages, and while we can guarantee 
that all messages will be consumed and acknowledged in a timely manner, we can't guarantee that all 
will be acknowledged strictly in the order in which they were received.  Is there, then, a means to 
acknowledge individual messages, possibly out-of-order?

Thanks!
-rob

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


Re: Messaging API - per-message acknowledgements

Posted by Gordon Sim <gs...@redhat.com>.
On 08/16/2010 10:20 PM, Rob Springer wrote:
> All - We've been using Qpid 0.5 up to this point in our applications,
> and we're at the point where we can begin evaluating 0.6. Since it's
> supposed to be "the future", we've been taking a look at the new
> messaging API, but we're hung up in one spot - we don't see (or haven't
> found) a means to acknowledge messages individually and/or out-of-order.
> Our application is heavily dependent on durable/persistent messages, and
> while we can guarantee that all messages will be consumed and
> acknowledged in a timely manner, we can't guarantee that all will be
> acknowledged strictly in the order in which they were received. Is
> there, then, a means to acknowledge individual messages, possibly
> out-of-order?

It is in the python version, where acknowledge takes an optional message 
argument. It isn't yet in c++, but I have created a Jira for that and 
will take a look at a solution as soon as I can: 
https://issues.apache.org/jira/browse/QPID-2807.

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


Re: Messaging API - per-message acknowledgements

Posted by David Hawthorne <dh...@3crowd.com>.
Have you seen the request-response example in the qpidc-0.6/examples/request-response directory?  It might cover what you're trying to do, especially if you add a message id to the message data.

On Aug 16, 2010, at 2:20 PM, Rob Springer wrote:

> All - We've been using Qpid 0.5 up to this point in our applications, and we're at the point where we can begin evaluating 0.6.  Since it's supposed to be "the future", we've been taking a look at the new messaging API, but we're hung up in one spot - we don't see (or haven't found) a means to acknowledge messages individually and/or out-of-order.
>  Our application is heavily dependent on durable/persistent messages, and while we can guarantee that all messages will be consumed and acknowledged in a timely manner, we can't guarantee that all will be acknowledged strictly in the order in which they were received.  Is there, then, a means to acknowledge individual messages, possibly out-of-order?
> 
> Thanks!
> -rob
> 
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
> 


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