[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Status of LargeMessages work

timfox do-not-reply at jboss.com
Tue Oct 28 04:00:09 EDT 2008


"clebert.suconic at 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#4185018

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185018



More information about the jboss-dev-forums mailing list