Search in sources :

Example 1 with IntermediateThrowMessageEventActivityBehavior

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

Aggregations

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