Class MessagePublicationRequest
java.lang.Object
io.camunda.zeebe.client.protocol.rest.MessagePublicationRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-07T11:57:41.291335755Z[GMT]",
comments="Generator version: 7.8.0")
public class MessagePublicationRequest
extends Object
MessagePublicationRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncorrelationKey
(String correlationKey) boolean
The correlation key of the message.The unique ID of the message.getName()
The name of the message.The tenant of the message sender.Timespan (in ms) to buffer the message on the broker.The message variables as JSON document.int
hashCode()
putVariablesItem
(String key, Object variablesItem) void
setCorrelationKey
(String correlationKey) void
setMessageId
(String messageId) void
void
setTenantId
(String tenantId) void
setTimeToLive
(Long timeToLive) void
setVariables
(Map<String, Object> variables) timeToLive
(Long timeToLive) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_CORRELATION_KEY
- See Also:
-
JSON_PROPERTY_TIME_TO_LIVE
- See Also:
-
JSON_PROPERTY_MESSAGE_ID
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
-
Constructor Details
-
MessagePublicationRequest
public MessagePublicationRequest()
-
-
Method Details
-
name
-
getName
The name of the message.- Returns:
- name
-
setName
-
correlationKey
-
getCorrelationKey
The correlation key of the message.- Returns:
- correlationKey
-
setCorrelationKey
-
timeToLive
-
getTimeToLive
Timespan (in ms) to buffer the message on the broker.- Returns:
- timeToLive
-
setTimeToLive
-
messageId
-
getMessageId
The unique ID of the message. Only useful to ensure only one message with the given ID will ever be published (during its lifetime).- Returns:
- messageId
-
setMessageId
-
variables
-
putVariablesItem
-
getVariables
The message variables as JSON document.- Returns:
- variables
-
setVariables
-
tenantId
-
getTenantId
The tenant of the message sender.- Returns:
- tenantId
-
setTenantId
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-