"clebert.suconic(a)jboss.com" wrote : 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.
I don't think that's a good fix.If you do that it's going to use Java
serialization for other message types too.
We *only* want to use Java serialization for Object messages, not for other messages like
map messages.
A better fix is to override getPayloadAsByteArray on the Objectmessage.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101468#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...