DateTimeUtils.setCurrentMillisFixed(currentTime().getMillis());
try {
for (Object event : events) {
if (event instanceof EventMessage) {
EventMessage eventMessage = (EventMessage) event;
sagaManager.handle(new GenericDomainEventMessage<Object>(eventMessage.getIdentifier(),
eventMessage.getTimestamp(),
aggregateIdentifier,
sequenceNumber++,
eventMessage.getPayload(),
eventMessage.getMetaData()));
} else {
sagaManager.handle(new GenericDomainEventMessage<Object>(aggregateIdentifier,
sequenceNumber++,
event));
}