Class SerializedObjectHolder

java.lang.Object
org.axonframework.serialization.SerializedObjectHolder

public class SerializedObjectHolder extends Object
Holder that keeps references to serialized representations of a payload and meta data of a specific message. Typically, this object should not live longer than the message object is is attached to.
Since:
2.0
Author:
Allard Buijze
  • Constructor Details

    • SerializedObjectHolder

      public SerializedObjectHolder(Message message)
      Initialize the holder for the serialized representations of the payload and meta data of given message
      Parameters:
      message - The message to initialize the holder for
  • Method Details