[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Message Chunking

timfox do-not-reply at jboss.com
Thu Jul 31 07:46:03 EDT 2008


"ataylor" wrote : anonymous wrote : Sure, but that doesn't mean they need to be munged (re-assembled) into a single buffer. 
  | 
  | Actually I'm just holding them in a list until ready.
  | 
  | 

AFAICT from the code you maintain it in the list, but then just call Packet.decode with the list which just copies the whole thing into a single body buffer - so it does get munged.

What would be nice is if we could maintain the same buffers in the packet as a list, so no copying.

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

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



More information about the jboss-dev-forums mailing list