T
- the type of the resource the message is belonging to, like <T>
is Product
for ProductPublishedMessage
public interface GenericMessage<T> extends Message
MessageQuery
Modifier and Type | Method and Description |
---|---|
Reference<T> |
getResource() |
as, getPayload, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, referenceOfId, referenceTypeId, toReference, typeReference
getCreatedAt, getId, getLastModifiedAt, getVersion
hasSameIdAs, toResourceIdentifier
Reference<T> getResource()
getResource
in interface Message