Class CorrelationData.Confirm
- java.lang.Object
-
- org.springframework.amqp.rabbit.connection.CorrelationData.Confirm
-
- Enclosing class:
- CorrelationData
public static class CorrelationData.Confirm extends java.lang.Object
Represents a publisher confirmation. When the ack field is true, the publish was successful; otherwise failed with a possible reason (may be null, meaning unknown).- Since:
- 2.1
-
-
Constructor Summary
Constructors Constructor Description Confirm(boolean ack, java.lang.String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReason()
boolean
isAck()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Confirm
public Confirm(boolean ack, @Nullable java.lang.String reason)
-
-