Package com.rabbitmq.stream
Class ConfirmationStatus
java.lang.Object
com.rabbitmq.stream.ConfirmationStatus
The status to confirm or fail a message.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionshort
getCode()
The status code.boolean
Whether the message is confirmed or not.
-
Constructor Details
-
ConfirmationStatus
-
-
Method Details
-
getMessage
-
isConfirmed
public boolean isConfirmed()Whether the message is confirmed or not.- Returns:
- true if the message is confirmed by the broker, false otherwise
-
getCode
public short getCode()The status code.- Returns:
- status code
- See Also:
-