public interface DomainEventSequenceAware
DomainEventMessagetheir sequences and is capable of providing the last known sequence number for a given Aggregate identifier.
It is preferred to retrieve the last known sequence number from the Domain Event Stream when sourcing an Aggregate from events. However, this method provides an alternative in cases no events have been read. For example when using state storage.
aggregateIdentifier- the identifier of the aggregate to find the highest sequence for
Copyright © 2010–2022. All rights reserved.