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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...