activityBehavior = parseServiceTaskLike("intermediateMessageThrowEvent", messageEventDefinitionElement, scopeElement).getActivityBehavior();
} else {
// default to non behavior if no service task
// properties have been specified
nestedActivityImpl.setProperty("type", "intermediateNoneThrowEvent");
activityBehavior = new IntermediateThrowNoneEventActivityBehavior();
}
} else if (otherUnsupportedThrowingIntermediateEvent) {
addError("Unsupported intermediate throw event type", intermediateEventElement);
} else { // None intermediate event
nestedActivityImpl.setProperty("type", "intermediateNoneThrowEvent");
activityBehavior = new IntermediateThrowNoneEventActivityBehavior();
}
for (BpmnParseListener parseListener : parseListeners) {
parseListener.parseIntermediateThrowEvent(intermediateEventElement, scopeElement, nestedActivityImpl);
}