[rabbitmq-discuss] Message Reliability

Jain, Punit Punit.Jain at emc.com
Tue Sep 17 16:04:02 BST 2013


Hi,
We are using RabbitMQ (version: 3.1.3) in federation mode on two different machines. We are using "rabbitmq-c" client library to publish messages to upstream broker, and right now we are not using confirm method or message persistence. But we want to achieve message reliability i.e. we don't want to lose any messages. To achieve this, I am planning to use confirm method on publisher. I have following questions regarding the same:

*         If I get the confirmation acknowledgement, what does it mean? Is it message successfully delivered to "upstream queue" or "downstream exchange"?

*         If it guarantees delivery to "downstream exchange", then do we need to use message persistence?

*         If confirmation means delivery to upstream queue, then, I think, it makes sense to use message persistence, right? If the upstream broker crashes, then without message persistence, messages in upstream queue will be lost, right?

*         How does message persistence work? How long messages are persisted on disk? Are they removed from disk when the consumer sends the acknowledgement?

*         Or is there any other way to achieve message reliability? Any improvements or suggestions?

Thanks in Advance,
Punit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130917/35ad0dec/attachment.htm>


More information about the rabbitmq-discuss mailing list