// first try to correlate to execution
List<MessageCorrelationResult> correlations = correlateMessageToExecutions(commandContext, messageName, correlationSet);
if(correlations.size() > 1) {
throw new MismatchingMessageCorrelationException(messageName, correlationSet.getBusinessKey(), correlationSet.getCorrelationKeys(),
String.valueOf(correlations.size()) + " executions match the correlation keys. Should be one or zero.");
}
else if(!correlations.isEmpty()) {
return correlations.get(0);
}