{
throw new NotYetImplemented("Need to support multiple events at once...");
}
// since we currently don't support sending multiple events to process at once, assume there's only one
Event event = events.get(0);
eventInvocation.setName(event.getName());
eventInvocation.setPayload(PayloadUtils.getPayloadAsSerializable(event));
// Extensions
processExtensionsFrom(eventParams.getClass(), eventParams.getExtensions());