Hi there,<br><br>I'd like to be able to check whether I've received an ack for a particular message when using publisher delivery confirm mode. Was wondering if it's possible to do this using Pika.<br><br>Reason why I'd like to do this: my RabbitMQ client receives messages from a local daemon (using rpc) and sends those messages asynchronously to a RabbitMQ server. Since the messages received from the daemon are stored in memory, if the client crashes, it will lose them. Hence I'd like to improve robustness of the client by making the client store messages to disk. If the client fails to receive an ack for a message, it resends the message, otherwise it removes the message from the local disk store.<br>
<br>So basically how it works is:<br>1. daemon sends a message to local client<br>2. client stores the message to disk<br>3. client sends the message to server<br>4. client resends the message periodically until it receives the ack, then it removes the message from the disk.<br>
<br>By doing it this way, I will have to know whether I've received an ack. However, from some experiments done by a colleague recently, it appears that the server may send an ack for multiple messages (if it's correct).<br>
I've looked around and only saw a Java example trying to retrieve sequence number for a message from a frame. I would like to know whether it's possible to check whether I've got an ack for a particular message using Pika, and the way how to do it. <br>
<br>Cheers,<br><br>Brian<br><br>