1 Reply Latest reply on Sep 25, 2001 9:17 PM by hchirino

    ObjectMessage references other objects

    fang

      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?

        • 1. Re: ObjectMessage references other objects
          hchirino

          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.)

          Regards,
          Hiram