Class PublishMessageBuilder
java.lang.Object
io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder<PublishMessageBuilder,BaseElement>
io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder<PublishMessageBuilder,BaseElement>
io.camunda.zeebe.model.bpmn.builder.zeebe.PublishMessageBuilder
public class PublishMessageBuilder
extends AbstractBaseElementBuilder<PublishMessageBuilder,BaseElement>
-
Field Summary
FieldsFields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
SPACE, ZEEBE_EXPRESSION_FORMATFields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself -
Constructor Summary
ConstructorsConstructorDescriptionPublishMessageBuilder(BpmnModelInstance modelInstance, BaseElement element, Consumer<Message> consumer) -
Method Summary
Modifier and TypeMethodDescriptionnameExpression(String nameExpression) zeebeCorrelationKey(String correlationKey) Sets a static correlation key of the message.zeebeCorrelationKeyExpression(String correlationKeyExpression) Sets a dynamic correlation key of the message.zeebeMessageId(String messageId) Sets a static id of the message.zeebeMessageIdExpression(String messageIdExpression) Sets a dynamic id of the message.zeebeTimeToLive(String timeToLive) Sets a static time to live of the message.zeebeTimeToLiveExpression(String timeToLiveExpression) Sets a dynamic time to live of the message.Methods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, addExtensionElement, asZeebeExpression, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyEscalationEventDefinition, createEmptyMessageEventDefinition, createEmptySignalEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessage, createMessageEventDefinition, createSibling, createSibling, createSignal, createSignalEventDefinition, createZeebeUserTaskForm, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findProcess, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeBpmnShape, setCoordinates, setWaypoints, setWaypointsWithSourceAndTargetMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
documentation, done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
Field Details
-
consumer
-
-
Constructor Details
-
PublishMessageBuilder
public PublishMessageBuilder(BpmnModelInstance modelInstance, BaseElement element, Consumer<Message> consumer)
-
-
Method Details
-
name
-
nameExpression
-
zeebeMessageId
Sets a static id of the message.- Parameters:
messageId- the id of the message- Returns:
- the builder object
-
zeebeMessageIdExpression
Sets a dynamic id of the message. The id is retrieved from the given expression.- Parameters:
messageIdExpression- the expression for the id of the message- Returns:
- the builder object
-
zeebeCorrelationKey
Sets a static correlation key of the message.- Parameters:
correlationKey- the correlation key of the message- Returns:
- the builder object
-
zeebeCorrelationKeyExpression
Sets a dynamic correlation key of the message. The correlation key is retrieved from the given expression.- Parameters:
correlationKeyExpression- the expression for the correlation key of the message- Returns:
- the builder object
-
zeebeTimeToLive
Sets a static time to live of the message.- Parameters:
timeToLive- the correlation key of the message- Returns:
- the builder object
-
zeebeTimeToLiveExpression
Sets a dynamic time to live of the message. The time to live is retrieved from the given expression.- Parameters:
timeToLiveExpression- the expression for the time to live of the message- Returns:
- the builder object
-