public Object dispatch (final ApplicationContext context, final WorkItem wi) throws DispatchingException { //final Participant targetParticipant = getParticipantMap() // .get(this.target); final Participant targetParticipant = Definitions.getParticipantMap(context).get(this.target); if (log.isDebugEnabled()) log.debug("dispatch() ref to '"+targetParticipant.getRegex()+"'"); if (wi instanceof InFlowWorkItem) { ((InFlowWorkItem)wi) .setParticipantName(targetParticipant.getRegex()); } return targetParticipant.dispatch(context, wi); }
log.info("reload() added participant '"+p.getRegex()+"'");