private void route(EventBean[] events, ExprEvaluatorContext exprEvaluatorContext)
{
for (EventBean routed : events) {
if (routed instanceof NaturalEventBean) {
NaturalEventBean natural = (NaturalEventBean) routed;
if (audit) {
AuditPath.auditInsertInto(agentInstanceContext.getEngineURI(), agentInstanceContext.getStatementName(), natural.getOptionalSynthetic());
}
parent.getInternalEventRouter().route(natural.getOptionalSynthetic(), parent.getEpStatementHandle(), agentInstanceContext.getStatementContext().getInternalEventEngineRouteDest(), exprEvaluatorContext, parent.isAddToFront());
}
else {
if (audit) {
AuditPath.auditInsertInto(agentInstanceContext.getEngineURI(), agentInstanceContext.getStatementName(), routed);
}