Class PublishMessageBuilder


public class PublishMessageBuilder extends AbstractBaseElementBuilder<PublishMessageBuilder,BaseElement>
  • Field Details

  • Constructor Details

  • Method Details

    • name

      public PublishMessageBuilder name(String name)
    • nameExpression

      public PublishMessageBuilder nameExpression(String nameExpression)
    • zeebeMessageId

      public PublishMessageBuilder zeebeMessageId(String messageId)
      Sets a static id of the message.
      Parameters:
      messageId - the id of the message
      Returns:
      the builder object
    • zeebeMessageIdExpression

      public PublishMessageBuilder zeebeMessageIdExpression(String messageIdExpression)
      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

      public PublishMessageBuilder zeebeCorrelationKey(String correlationKey)
      Sets a static correlation key of the message.
      Parameters:
      correlationKey - the correlation key of the message
      Returns:
      the builder object
    • zeebeCorrelationKeyExpression

      public PublishMessageBuilder zeebeCorrelationKeyExpression(String correlationKeyExpression)
      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

      public PublishMessageBuilder zeebeTimeToLive(String timeToLive)
      Sets a static time to live of the message.
      Parameters:
      timeToLive - the correlation key of the message
      Returns:
      the builder object
    • zeebeTimeToLiveExpression

      public PublishMessageBuilder zeebeTimeToLiveExpression(String timeToLiveExpression)
      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