activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject activemq git commit: [AMQ-6414] additional logging that helped identify root cause
Date Mon, 27 Feb 2017 17:01:24 GMT
Repository: activemq
Updated Branches:
  refs/heads/master a1f6261fb -> b6521e292


[AMQ-6414] additional logging that helped identify root cause


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/b6521e29
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/b6521e29
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/b6521e29

Branch: refs/heads/master
Commit: b6521e292b20788eef44f3a7810d8e4281b677dc
Parents: a1f6261
Author: gtully <gary.tully@gmail.com>
Authored: Mon Feb 27 17:01:16 2017 +0000
Committer: gtully <gary.tully@gmail.com>
Committed: Mon Feb 27 17:01:16 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/activemq/broker/TransportConnection.java     | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/b6521e29/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
----------------------------------------------------------------------
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
index 3b26fd2..a58eda3 100644
--- a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
+++ b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
@@ -977,6 +977,10 @@ public class TransportConnection implements Connection, Task, CommandVisitor
{
                 }
                 messageDispatch = null;
                 throw e;
+            } else {
+                if (TRANSPORTLOG.isDebugEnabled()) {
+                    TRANSPORTLOG.debug("Unexpected exception on asyncDispatch, command of
type: " + command.getDataStructureType(), e);
+                }
             }
         } finally {
             if (messageDispatch != null) {


Mime
View raw message