[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-1138 - Using Object lists on messages
timfox
do-not-reply at jboss.com
Fri Nov 2 17:07:25 EDT 2007
Better still create a method on MessageSupport doWrite(), that by default does:
StreamUtils.writeObject(daos, payload, true, true);
then override it on Object Message to do
StreamUtils.writeObject(daos, payload, false, true);
then you won't end up duplicating the getPayloadAsByteArray() logic
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101472#4101472
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101472
More information about the jboss-dev-forums
mailing list