Description
Please see this qpid-user thread for further context: http://markmail.org/message/vgtssb2ivyttnbsf
The qpid java broker does not deal effectively with slow consumers. This is a combination of two issues: a MINA issue and a lack of support in qpid itself.
The MINA issue is similar to the "fast producer" issue. In this case, the data is stored in the MINA session queues, and does not appear in the queue counts which makes it very difficult for users to track down. Each MINA session event queue needs to be a bounded list.
The broker also needs enhancement to offer at least two options when a queue builds up:
1) throttle the publisher. This is likely to be something that is desirable for "public" queues.
2) disconnect the slow consumer. This will be used when dealing with private queues - typically bound to a topic exchange.