Record Class RabbitMqMessageProperties

java.lang.Object
java.lang.Record
io.camunda.connector.rabbitmq.inbound.model.RabbitMqMessageProperties

public record RabbitMqMessageProperties(String contentType, String contentEncoding, Map<String,Object> headers, Integer deliveryMode, Integer priority, String correlationId, String replyTo, String expiration, String messageId, Date timestamp, String type, String userId, String appId, String clusterId) extends Record
Model of the RabbitMQ message properties. Mirrors the AMQP.BasicProperties.
  • Constructor Details

    • RabbitMqMessageProperties

      public RabbitMqMessageProperties(String contentType, String contentEncoding, Map<String,Object> headers, Integer deliveryMode, Integer priority, String correlationId, String replyTo, String expiration, String messageId, Date timestamp, String type, String userId, String appId, String clusterId)
      Creates an instance of a RabbitMqMessageProperties record class.
      Parameters:
      contentType - the value for the contentType record component
      contentEncoding - the value for the contentEncoding record component
      headers - the value for the headers record component
      deliveryMode - the value for the deliveryMode record component
      priority - the value for the priority record component
      correlationId - the value for the correlationId record component
      replyTo - the value for the replyTo record component
      expiration - the value for the expiration record component
      messageId - the value for the messageId record component
      timestamp - the value for the timestamp record component
      type - the value for the type record component
      userId - the value for the userId record component
      appId - the value for the appId record component
      clusterId - the value for the clusterId record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • contentType

      public String contentType()
      Returns the value of the contentType record component.
      Returns:
      the value of the contentType record component
    • contentEncoding

      public String contentEncoding()
      Returns the value of the contentEncoding record component.
      Returns:
      the value of the contentEncoding record component
    • headers

      public Map<String,Object> headers()
      Returns the value of the headers record component.
      Returns:
      the value of the headers record component
    • deliveryMode

      public Integer deliveryMode()
      Returns the value of the deliveryMode record component.
      Returns:
      the value of the deliveryMode record component
    • priority

      public Integer priority()
      Returns the value of the priority record component.
      Returns:
      the value of the priority record component
    • correlationId

      public String correlationId()
      Returns the value of the correlationId record component.
      Returns:
      the value of the correlationId record component
    • replyTo

      public String replyTo()
      Returns the value of the replyTo record component.
      Returns:
      the value of the replyTo record component
    • expiration

      public String expiration()
      Returns the value of the expiration record component.
      Returns:
      the value of the expiration record component
    • messageId

      public String messageId()
      Returns the value of the messageId record component.
      Returns:
      the value of the messageId record component
    • timestamp

      public Date timestamp()
      Returns the value of the timestamp record component.
      Returns:
      the value of the timestamp record component
    • type

      public String type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • userId

      public String userId()
      Returns the value of the userId record component.
      Returns:
      the value of the userId record component
    • appId

      public String appId()
      Returns the value of the appId record component.
      Returns:
      the value of the appId record component
    • clusterId

      public String clusterId()
      Returns the value of the clusterId record component.
      Returns:
      the value of the clusterId record component