"clebert.suconic(a)jboss.com" wrote : VIII - When sending very large messages, I
need to make sure the server will not overuse the remoting connection running out of
memory, so I've changed the ServerSide flow control to use a Semaphore instead of a
AtomicInt.
|
| As the messages are chunked, I acquire the packetSize (or chunkSize) from
availableCredits. When running out of credit ServerConsumerImpl will just wait until more
credits are returned from the client.
|
Isn't that how it already works? I don't understand why you need to change this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185018#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...