Search in sources :

Example 1 with ThrowMessageEndEventActivityBehavior

use of org.activiti.engine.impl.bpmn.behavior.ThrowMessageEndEventActivityBehavior 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);
}
Also used : ThrowMessageEndEventActivityBehavior(org.activiti.engine.impl.bpmn.behavior.ThrowMessageEndEventActivityBehavior) ThrowMessageDelegate(org.activiti.engine.impl.delegate.ThrowMessageDelegate)

Aggregations

ThrowMessageEndEventActivityBehavior (org.activiti.engine.impl.bpmn.behavior.ThrowMessageEndEventActivityBehavior)1 ThrowMessageDelegate (org.activiti.engine.impl.delegate.ThrowMessageDelegate)1