On Wed, 2017-02-15 at 16:56 +0000, Antoine Chevin wrote: > Hello, > > > > We are experimenting the delivery settlement using Qpid proton C++ > bindings. > > Is there a way to find out if the delivery is remotely settled? > > > > In our case, we want to implement client acknowledgment of a message > like > it is done in JMS. > > We want to be sure that, when our ‘acknowledge’ method returns, the > delivery is actually settled. > > To perform the client acknowledgment, we store a copy of the delivery > object and call ‘accept()’ on it when the client acknowledges. > > > > We tried to use delivery.settled() to verify if the delivery is > remotely > settled but it returns always false. Do you know why? > > > The API has changed a bit, the C delivery object is split into two parts, the "tracker" for the sender side and the "delivery" for the receiver. The example proton/examples/cpp/simple_send.cpp shows how you can track acknowledgements to sent messages.
Cheers, Alan. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
