If you look at StreamUtils we are converting any List (or any Map) to ArrayList and
HashMap.
that means if an user is using any special list (such as Vector, or any other custom
lists) we are converting them to those maps.
Because of this, I'm changing MessageSupport::getPayloadAsByteArray to call
Streamutils.writeObject with containerTypes=false.
Object*Stream is more optimized to those types anyway. And besides if you have graph
dependencies on those objects, at this point we are just writing several independent
objects. Say if you recover objects from Hibernate and send those over JMS they will all
be flat objects after receiving.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101459#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...