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 Summary
ConstructorsConstructorDescriptionRabbitMqMessageProperties(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 aRabbitMqMessagePropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionappId()Returns the value of theappIdrecord component.Returns the value of theclusterIdrecord component.Returns the value of thecontentEncodingrecord component.Returns the value of thecontentTyperecord component.Returns the value of thecorrelationIdrecord component.Returns the value of thedeliveryModerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpirationrecord component.final inthashCode()Returns a hash code value for this object.headers()Returns the value of theheadersrecord component.Returns the value of themessageIdrecord component.priority()Returns the value of thepriorityrecord component.replyTo()Returns the value of thereplyTorecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.userId()Returns the value of theuserIdrecord component.
-
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 aRabbitMqMessagePropertiesrecord class.- Parameters:
contentType- the value for thecontentTyperecord componentcontentEncoding- the value for thecontentEncodingrecord componentheaders- the value for theheadersrecord componentdeliveryMode- the value for thedeliveryModerecord componentpriority- the value for thepriorityrecord componentcorrelationId- the value for thecorrelationIdrecord componentreplyTo- the value for thereplyTorecord componentexpiration- the value for theexpirationrecord componentmessageId- the value for themessageIdrecord componenttimestamp- the value for thetimestamprecord componenttype- the value for thetyperecord componentuserId- the value for theuserIdrecord componentappId- the value for theappIdrecord componentclusterId- the value for theclusterIdrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
contentType
Returns the value of thecontentTyperecord component.- Returns:
- the value of the
contentTyperecord component
-
contentEncoding
Returns the value of thecontentEncodingrecord component.- Returns:
- the value of the
contentEncodingrecord component
-
headers
Returns the value of theheadersrecord component.- Returns:
- the value of the
headersrecord component
-
deliveryMode
Returns the value of thedeliveryModerecord component.- Returns:
- the value of the
deliveryModerecord component
-
priority
Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-
correlationId
Returns the value of thecorrelationIdrecord component.- Returns:
- the value of the
correlationIdrecord component
-
replyTo
Returns the value of thereplyTorecord component.- Returns:
- the value of the
replyTorecord component
-
expiration
Returns the value of theexpirationrecord component.- Returns:
- the value of the
expirationrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
appId
Returns the value of theappIdrecord component.- Returns:
- the value of the
appIdrecord component
-
clusterId
Returns the value of theclusterIdrecord component.- Returns:
- the value of the
clusterIdrecord component
-