Interface CorrelatedMessageSubscription
- All Known Implementing Classes:
CorrelatedMessageSubscriptionImpl
public interface CorrelatedMessageSubscription
-
Method Summary
Modifier and TypeMethodDescriptionReturns the business id associated with this correlated message subscription.Returns the key of the root process instance.
-
Method Details
-
getCorrelationKey
String getCorrelationKey() -
getCorrelationTime
OffsetDateTime getCorrelationTime() -
getElementId
String getElementId() -
getElementInstanceKey
Long getElementInstanceKey() -
getMessageKey
Long getMessageKey() -
getMessageName
String getMessageName() -
getPartitionId
Integer getPartitionId() -
getProcessDefinitionId
String getProcessDefinitionId() -
getProcessDefinitionKey
Long getProcessDefinitionKey() -
getProcessInstanceKey
Long getProcessInstanceKey() -
getRootProcessInstanceKey
Long getRootProcessInstanceKey()Returns the key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy.Note: This field is
nullfor process instance hierarchies created before version 8.9.- Returns:
- the root process instance key, or
nullfor data created before version 8.9
-
getSubscriptionKey
Long getSubscriptionKey() -
getTenantId
String getTenantId() -
getBusinessId
String getBusinessId()Returns the business id associated with this correlated message subscription.For a message start event correlation, this is the business id carried by the correlating message, which was stamped on the started process instance to enforce its uniqueness. For a catch, boundary, or intermediate event correlation, this is the business id of the subscribing process instance, captured when the subscription was opened.
Note: This field is
nullwhen the relevant process instance has no business id.- Returns:
- the business id, or
nullif none applies
-