qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oru...@apache.org
Subject [2/2] qpid-broker-j git commit: QPID-7531: [Java Broker, AMQP 1.0] Improve error message
Date Fri, 06 Oct 2017 09:59:08 GMT
 QPID-7531: [Java Broker, AMQP 1.0] Improve error message


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/37b1a71a
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/37b1a71a
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/37b1a71a

Branch: refs/heads/master
Commit: 37b1a71aef67ef9043e64ea6766020fd47943112
Parents: ac6f6c3
Author: Alex Rudyy <orudyy@apache.org>
Authored: Fri Oct 6 10:57:03 2017 +0100
Committer: Alex Rudyy <orudyy@apache.org>
Committed: Fri Oct 6 10:57:03 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/37b1a71a/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
----------------------------------------------------------------------
diff --git a/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
b/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
index f54a19f..0f4b7ba 100644
--- a/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
+++ b/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Session_1_0.java
@@ -1361,8 +1361,8 @@ public class Session_1_0 extends AbstractAMQPSession<Session_1_0,
ConsumerTarget
                 {
                     endpoint.close(new Error(AmqpError.RESOURCE_LIMIT_EXCEEDED,
                                              String.format(
-                                                     "Cannot find free handle for endpoint
'%d' on session '%s'",
-                                                     _attach.getHandle(),
+                                                     "Cannot find free handle for endpoint
'%s' on session '%s'",
+                                                     _attach.getName(),
                                                      endpoint.getSession().toLogString())));
                 }
                 else


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message