[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Large message code review
clebert.suconic@jboss.com
do-not-reply at jboss.com
Wed Dec 10 09:16:32 EST 2008
ClientMessage::setFlowControlSize is only being called for large messages. So for normal messages it's always zero, meaning no credits are sent to the server............. ouch ouch
|
| not good
|
|
The default value for flowControlSize is getEncodingSize() which is what it used to be.
I'm using the headerSize because on regular messages you are using Message.getEncodeSize() and not Packet.getSize(). I had actually it implemented at packetSize at some point, but I changed it to byteBuffer.length when I saw that.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195610#4195610
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195610
More information about the jboss-dev-forums
mailing list