I'm trying to send a ObjectMessage which has some references to other non-serializable objects, which generates run-time error saying that "Object cannot be serialized", which is what I could expect.
So here's my question: when passing a ObjectMessage to the queue, will Jboss try to do deep copy/clone of embedded object as well as it's referenced objects?
In a way,yes... The object is serialized rightway.
Thus when you un-serialize it, it will be a deep copy of the object. (Unless it was an RMI refecece that got serialized... Then you get a remote reference to the original object.)