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

clebert.suconic@jboss.com do-not-reply at jboss.com
Wed Oct 29 17:00:44 EDT 2008


Another change I'm making is regarding the buffer on JBossMessage.

JBossMessage is caching the buffer when it is created, but receiving message in chunks is replacing the buffer when necessary.

So, I have changed it to not cache the ByteBuffer any more, and aways get the buffer from the inner Message.

There was a TODO about getting the buffer lazily, so I've made the change.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185544#4185544

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



More information about the jboss-dev-forums mailing list