Record Class CorrelationData.Confirm
java.lang.Object
java.lang.Record
org.springframework.amqp.rabbit.connection.CorrelationData.Confirm
- Record Components:
ack- true to confirmreason- the reason for nack
- Enclosing class:
CorrelationData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanack()Returns the value of theackrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable StringDeprecated, for removal: This API element is subject to removal in a future version.final inthashCode()Returns a hash code value for this object.booleanisAck()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable Stringreason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Confirm
-
-
Method Details
-
isAck
Deprecated, for removal: This API element is subject to removal in a future version. -
getReason
Deprecated, for removal: This API element is subject to removal in a future version. -
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
ack
-
reason
-