On 09/29/2011 12:12 PM, surya prakash wrote:
default only

To improve performance, try batching acknowledgements by setting autoAck to a higher value (e.g. 50).

Regarding the second problem, the issue as I understand it is that you are losing messages when qpidd is killed and restarted? Assuming your messages are marked persistent, and this relates only to in-doubt messages, i.e. those that you have sent but that the broker has not yet processed when killed/crashed, you need the client application to resend them.

Using the qpid::messaging API makes this simpler in my opinion. If you have not gone too far with qpid::client, I would advise to at least consider siwtching to that API.

If that is not possible, you can take a look at the MessageReplayTracker class in the qpid::client namespace.

Hope this helps...


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to