use of org.activiti.engine.impl.delegate.ThrowMessageDelegate in project Activiti by Activiti.
the class DefaultActivityBehaviorFactory method createThrowMessageEndEventActivityBehavior.
@Override
public ThrowMessageEndEventActivityBehavior createThrowMessageEndEventActivityBehavior(EndEvent endEvent, MessageEventDefinition messageEventDefinition, Message message) {
ThrowMessageDelegate throwMessageDelegate = createThrowMessageDelegate(messageEventDefinition);
MessageExecutionContext messageExecutionContext = createMessageExecutionContext(endEvent, messageEventDefinition);
return new ThrowMessageEndEventActivityBehavior(endEvent, messageEventDefinition, throwMessageDelegate, messageExecutionContext);
}
use of org.activiti.engine.impl.delegate.ThrowMessageDelegate in project Activiti by Activiti.
the class DefaultActivityBehaviorFactory method createThrowMessageEventActivityBehavior.
@Override
public IntermediateThrowMessageEventActivityBehavior createThrowMessageEventActivityBehavior(ThrowEvent throwEvent, MessageEventDefinition messageEventDefinition, Message message) {
ThrowMessageDelegate throwMessageDelegate = createThrowMessageDelegate(messageEventDefinition);
MessageExecutionContext messageExecutionContext = createMessageExecutionContext(throwEvent, messageEventDefinition);
return new IntermediateThrowMessageEventActivityBehavior(throwEvent, messageEventDefinition, throwMessageDelegate, messageExecutionContext);
}
Aggregations