Daniel John Debrunner wrote:
Emmanuel Lecharny wrote:
That would be good for sure to have such a mechanism implemented in
MINA... This is not exactly what does the IoEventQueueThrottler : it
does limit the size of data sent to the client to a certain size,
limiting the throughput. Probably not what you want.
So the threshold parameter to IoEventQueueThrottler constructor is
number of bytes, not number of messages?
Seems to be the number of bytes, setting the threshold to a value lower
than the estimated message size seems to always cause a hang.
Dan.