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

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


I have to say I don't really understand why you don't just put the conversion to List in the encode method of the Packet - not sure I see that PacketAssembler/Disassembler is necessary.

Another observation is that messages are just being re-encoded into several buffers. The original idea here was to write directly into the messages own buffers when the user builds the message and then just use that when writing to the wire - no re-writing necessary.

I'm nor sure we need PacketFragment either - can't we just use MessagingBuffer?

Regarding re-assembling, I'm not sure this is necessary either since when reading several packets off the wire to form a command we can just store the actual buffers, no need to re-assemble?

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

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



More information about the jboss-dev-forums mailing list