[rabbitmq-discuss] about rabbitmq best practice

Ben Hood 0x6e6562 at gmail.com
Tue Nov 25 15:49:24 GMT 2008


Yin Chen,

On Tue, Nov 25, 2008 at 8:25 AM, Yin Chen <subdragon at gmail.com> wrote:

> But the question is that if
> consumer is down, the message delivered by the publisher during the down
> time can not be fetched by the consumer.

http://lettuce.squarespace.com/faq/sending-messages/what-happens-to-messages-that-are-published-after-a-consumer.html

> And I found in this situation, even
> with the basic publish function's mandatory and immediate both on, the java
> client would keep silent and the python(amqplib) client would throw a
> exception until the channel close. Does the server receive the message and
> how should I consume the message after the consumer has restarted?

http://lettuce.squarespace.com/faq/sending-messages/if-i-set-the-mandatory-flag-how-do-i-know-when-a-message-cou.html

HTH,

Ben




More information about the rabbitmq-discuss mailing list