Re: Re:Proper handling of disconnected consumers - best approach

2011-12-09 Thread romanhawk
I've created pretty simple producers/Consumers with AUTO_ACK mode. Setting prefetch to 0 made the system work as I expected. Maximum 1 message was stuck for some time unless connection was declared "dead". At that moment the message was handled by another alive consumer. Thanks for support, appar

Proper handling of disconnected consumers - best approach

2011-12-05 Thread romanhawk
Dear colleagues, I have the following scenario to implement and looking for best ways to accomplish it: 1. I have embedded broker on the server 2. There are several consumers running behind firewalls/NAT connected to that server 3. Messages are produced by the server and put into the embedded bro