On 01/29/2013 05:58 PM, Rajesh Khan wrote:
Because of the high throughput requirement of my application I have started
to use the .count property in my C# Qpid Receiver for a LV Queue.
I wanted to know how I can batch acknowledge the received messsages.
Currently I am using just two things after receiving messages
session.Sync(); followed by session.Acknowledge(); How could I batch
acknowledge say 20 messages ?

Just call session.Acknowledge() every 20 messages. Btw, why are you calling session.Sync() before Acknowledge()?



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to