We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 854240b commit bb7fd84Copy full SHA for bb7fd84
src/com/rabbitmq/client/GetResponse.java
@@ -86,4 +86,15 @@ public byte[] getBody() {
86
public int getMessageCount() {
87
return messageCount;
88
}
89
+
90
+ @Override
91
+ public String toString() {
92
+ StringBuilder sb = new StringBuilder();
93
+ sb.append("GetResponse(envelope=").append(envelope);
94
+ sb.append(", props=").append(props);
95
+ sb.append(", messageCount=").append(messageCount);
96
+ sb.append(", body=(elided, ").append(body.length).append(" bytes long)");
97
+ sb.append(")");
98
+ return sb.toString();
99
+ }
100
0 commit comments