Interface MessageStartEventSubscriptionRecordValue
- All Superinterfaces:
JsonSerializable,RecordValue,RecordValueWithVariables
- All Known Implementing Classes:
ImmutableMessageStartEventSubscriptionRecordValue
@Immutable
public interface MessageStartEventSubscriptionRecordValue
extends RecordValueWithVariables
Represents message start event subscription commands and events
See MessageStartEventSubscriptionIntent for intents.
-
Method Summary
Modifier and TypeMethodDescriptionlonglonglongMethods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable
toJsonMethods inherited from interface io.camunda.zeebe.protocol.record.RecordValueWithVariables
getVariables
-
Method Details
-
getProcessDefinitionKey
long getProcessDefinitionKey()- Returns:
- the process key tied to the subscription
-
getBpmnProcessId
String getBpmnProcessId()- Returns:
- the BPMN process id tied to the subscription
-
getStartEventId
String getStartEventId()- Returns:
- the id of the start event tied to the subscription
-
getMessageName
String getMessageName()- Returns:
- the name of the message
-
getProcessInstanceKey
long getProcessInstanceKey()- Returns:
- the key of the process instance that was created by this message. It is only set when a message is correlated to this subscription. Otherwise, it returns -1.
-
getCorrelationKey
String getCorrelationKey()- Returns:
- the correlation key of the message. It is only set when a message is correlated to this subscription. Otherwise, it returns an empty string.
-
getMessageKey
long getMessageKey()- Returns:
- the key of the message. It is only set when a message is correlated to this subscription. Otherwise, it returns -1.
-