Package org.flowable.engine.impl.cmd
Class MessageEventReceivedCmd
java.lang.Object
org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd<Void>
org.flowable.engine.impl.cmd.MessageEventReceivedCmd
- All Implemented Interfaces:
Serializable
,Command<Void>
- Author:
- Daniel Meyer, Joram Barrez
- See Also:
-
Field Summary
FieldsFields inherited from class org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd
executionId
-
Constructor Summary
ConstructorsConstructorDescriptionMessageEventReceivedCmd
(String messageName, String executionId, boolean async) MessageEventReceivedCmd
(String messageName, String executionId, Map<String, Object> processVariables) -
Method Summary
Modifier and TypeMethodDescriptionprotected Void
execute
(CommandContext commandContext, ExecutionEntity execution) Subclasses should implement this method.protected String
Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.Methods inherited from class org.flowable.engine.impl.cmd.NeedsActiveExecutionCmd
execute
-
Field Details
-
payload
-
messageName
-
async
protected final boolean async
-
-
Constructor Details
-
MessageEventReceivedCmd
-
MessageEventReceivedCmd
-
-
Method Details
-
execute
Description copied from class:NeedsActiveExecutionCmd
Subclasses should implement this method. The providedExecutionEntity
is guaranteed to be active (ie. not suspended).- Specified by:
execute
in classNeedsActiveExecutionCmd<Void>
-
getSuspendedExceptionMessagePrefix
Description copied from class:NeedsActiveExecutionCmd
Subclasses can override this to provide a more detailed exception message that will be thrown when the execution is suspended.- Overrides:
getSuspendedExceptionMessagePrefix
in classNeedsActiveExecutionCmd<Void>
-