Collection<Saga> sagaInstances = new ArrayList<>();
if (message instanceof Timeout) {
// timeout is special. Has only one specific saga state and
// saga id is already known
Timeout timeout = (Timeout) message;
Saga saga = createSagaForTimeoutHandling(timeout);
if (saga != null) {
sagaInstances.add(saga);
}
} else {