Package io.camunda.client.protocol.rest
Class MessageCorrelationRequest
java.lang.Object
io.camunda.client.protocol.rest.MessageCorrelationRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class MessageCorrelationRequest
extends Object
MessageCorrelationRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessId(String businessId) correlationKey(String correlationKey) booleanAn optional business id used to enforce uniqueness of the process instance that a message start event would create.The correlation key of the message.getName()The message name as defined in the BPMN processthe tenant for which the message is publishedThe message variables as JSON documentinthashCode()putVariablesItem(String key, Object variablesItem) voidsetBusinessId(String businessId) voidsetCorrelationKey(String correlationKey) voidvoidsetTenantId(String tenantId) voidsetVariables(Map<String, Object> variables) toString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_CORRELATION_KEY
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
JSON_PROPERTY_BUSINESS_ID
- See Also:
-
-
Constructor Details
-
MessageCorrelationRequest
public MessageCorrelationRequest()
-
-
Method Details
-
name
-
getName
The message name as defined in the BPMN process- Returns:
- name
-
setName
-
correlationKey
-
getCorrelationKey
The correlation key of the message.- Returns:
- correlationKey
-
setCorrelationKey
-
variables
-
putVariablesItem
-
getVariables
The message variables as JSON document- Returns:
- variables
-
setVariables
-
tenantId
-
getTenantId
the tenant for which the message is published- Returns:
- tenantId
-
setTenantId
-
businessId
-
getBusinessId
An optional business id used to enforce uniqueness of the process instance that a message start event would create. If provided and uniqueness enforcement is enabled, the engine rejects starting a new process instance when another root process instance with the same business id is already active for the same process definition. It has no effect when the message correlates to a catch, boundary, or intermediate event.- Returns:
- businessId
-
setBusinessId
-
equals
-
hashCode
public int hashCode() -
toString
-