"clebert.suconic(a)jboss.com" wrote :
| The current implementation is not using Semaphores, it is using just an AtomicInteger,
and there are only two states on the Consumer... sending or not sending, as there is not
need to wait during the sending of a message.
|
| With the message chunk, we need to wait for credits during the chunk-sending. Say...
if I'm sending a 1G file to the client, I need to wait for credits as the client is
being able to receive bytes from the server.
|
| Another point regarding flow control is, I'm aways sending BigMessages in a
blocked way until we can have FlowControl re-enabled.
|
|
I don't understand this. Let's discuss this off line.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185119#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...