[rabbitmq-discuss] persistence

Lars Bachmann lars.bachmann at s2002.tu-chemnitz.de
Fri May 16 17:01:33 BST 2008


by now i tried only 1) and it definitly has some affect. I was able to  
send 70000, 100000 and 150000 messages and all were received by the  
broker. When i wanted to send 200000 i got a socketconnection  
exception. Next week i ll take a closer look why this happened and i  
ll also try out the mandatory flag.

So it seems that the channel was already closed but not all messages  
were sent, very interessting. Thank you for your help. Next week i ll  
give some more feedback.


> Lars,
> Lars Bachmann wrote:
>> i perform this check after my producer has terminated, but even if   
>> i make this test some minutes later still the same result. I send   
>> 60000 messages and only for example 48000 are in the queue.
> Interesting. I have a few theories of what might be happening. Could
> you try the following experiments and let me know whether the results
> change?
> 1) delay the call to channel.close in the producer
> 2) set the "mandatory" flag in the basicPublish call - see the 7-arg
> version of that method.
> Matthias.

More information about the rabbitmq-discuss mailing list