Class DefaultMessageExecutionContext
java.lang.Object
org.activiti.engine.impl.bpmn.parser.factory.DefaultMessageExecutionContext
- All Implemented Interfaces:
MessageExecutionContext
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMessageExecutionContext(org.activiti.bpmn.model.MessageEventDefinition messageEventDefinition, ExpressionManager expressionManager, MessagePayloadMappingProvider messagePayloadMappingProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertNoExistingDuplicateEventSubscriptions(String messageName, String correlationKey, CommandContext commandContext) createMessageEventSubscription(CommandContext commandContext, DelegateExecution execution) createThrowMessage(DelegateExecution execution) protected StringevaluateExpression(String expression, DelegateExecution execution) getCorrelationKey(DelegateExecution execution) getMessageName(DelegateExecution execution) getMessagePayload(DelegateExecution execution)
-
Constructor Details
-
DefaultMessageExecutionContext
public DefaultMessageExecutionContext(org.activiti.bpmn.model.MessageEventDefinition messageEventDefinition, ExpressionManager expressionManager, MessagePayloadMappingProvider messagePayloadMappingProvider)
-
-
Method Details
-
getMessageName
- Specified by:
getMessageNamein interfaceMessageExecutionContext
-
getCorrelationKey
-
getMessagePayload
-
createThrowMessage
- Specified by:
createThrowMessagein interfaceMessageExecutionContext
-
createMessageEventSubscription
public MessageEventSubscriptionEntity createMessageEventSubscription(CommandContext commandContext, DelegateExecution execution) - Specified by:
createMessageEventSubscriptionin interfaceMessageExecutionContext
-
getExpressionManager
-
getMessagePayloadMappingProvider
-
evaluateExpression
-
assertNoExistingDuplicateEventSubscriptions
protected void assertNoExistingDuplicateEventSubscriptions(String messageName, String correlationKey, CommandContext commandContext)
-