T - the type of the resource the message is belonging to, like <T> is Product for ProductPublishedMessagepublic interface GenericMessage<T> extends Message
MessageQuery| Modifier and Type | Method and Description |
|---|---|
Reference<T> |
getResource() |
as, getPayload, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, referenceOfId, referenceTypeId, toReference, typeReferencegetCreatedAt, getId, getLastModifiedAt, getVersionhasSameIdAs, toResourceIdentifierReference<T> getResource()
getResource in interface Message