Copy of a Message

Programs can copy any message.

  • The copy is local, even if the original message is inbound.
  • Your program owns the copy, even if the library owns the original.
  • Your program can pass the copy to another thread.
  • The copy is mutable, because it is local. Modifying the copy does not affect the original.
  • The copy, along with all of its data content, is completely independent of the original inbound message. Even if the library destroys the original, the copy remains accessible. (See also, Storage of Field Values within Messages.)