Class BufferedStartMessageEventStateApplier
java.lang.Object
io.camunda.zeebe.engine.state.appliers.BufferedStartMessageEventStateApplier
-
Constructor Summary
ConstructorDescriptionBufferedStartMessageEventStateApplier
(ProcessState processState, MutableMessageState messageState) -
Method Summary
Modifier and TypeMethodDescriptionvoid
If a process instance is created by a message then it creates a lock for the instance to avoid that another instance can be created for the same message name and correlation key.
-
Constructor Details
-
BufferedStartMessageEventStateApplier
public BufferedStartMessageEventStateApplier(ProcessState processState, MutableMessageState messageState)
-
-
Method Details
-
removeMessageLock
If a process instance is created by a message then it creates a lock for the instance to avoid that another instance can be created for the same message name and correlation key. This method removes the lock. It should be called when the process instance transitions to completed or terminated.- Parameters:
record
- the record of the process instance that has ended
-