}
if (messageName != null) {
query.messageEventSubscriptionName(messageName);
} else {
query.messageEventSubscription();
}
List<Execution> matchingExecutions = query.evaluateExpressionsAndExecuteList(commandContext, null);
List<MessageCorrelationResult> result = new ArrayList<MessageCorrelationResult>(matchingExecutions.size());