[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: MessagingBuffer implementation leaking into MessageImpl
timfox
do-not-reply at jboss.com
Wed Jun 18 08:49:10 EDT 2008
The reason the message holds the buffer directly is to minimise copying. If we stored it as a byte buffer then copied it to the mina buffer that would involve unnecessary copying.
For this reason, I abstracted out the MessagingBuffer interface so it does not depend on MINA.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158973#4158973
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158973
More information about the jboss-dev-forums
mailing list