Class GenericMessage<T>

java.lang.Object
org.axonframework.domain.GenericMessage<T>
Type Parameters:
T - payload type
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GenericEventMessage

@Deprecated public class GenericMessage<T> extends Object implements Serializable
Deprecated.
this class is available for backward compatibility with instances that were serialized with Axon 2. Use GenericMessage instead.
Class copied from Axon 2 to be able to restore Axon 2 Quartz triggers from Axon 3.
See Also:
  • Constructor Details

    • GenericMessage

      public GenericMessage()
      Deprecated.
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Deprecated.
      Get the message's identifier.
      Returns:
      the message identifier
    • getMetaData

      public MetaData getMetaData()
      Deprecated.
      Get the message's metadata.
      Returns:
      the message metadata
    • getPayloadType

      public Class getPayloadType()
      Deprecated.
      Get the type of payload of this message.
      Returns:
      the message payload type
    • getPayload

      public T getPayload()
      Deprecated.
      Get the payload of this message.
      Returns:
      the message payload