GH-1352: Add Getter to StreamSendException.confCode
This commit is contained in:
@@ -40,4 +40,12 @@ public class StreamSendException extends AmqpException {
|
||||
this.confirmationCode = code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the confirmation code, if available.
|
||||
* @return the code.
|
||||
*/
|
||||
public int getConfirmationCode() {
|
||||
return this.confirmationCode;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user