activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject git commit: https://issues.apache.org/jira/browse/AMQ-4682 - remove unecessary stack trace from info log re no mapping to getContents - usefull only for dev/debug
Date Thu, 03 Oct 2013 12:53:37 GMT
Updated Branches:
  refs/heads/trunk ea1d02d06 -> 531d67cd1


https://issues.apache.org/jira/browse/AMQ-4682 - remove unecessary stack trace from info log
re no mapping to getContents - usefull only for dev/debug


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

Branch: refs/heads/trunk
Commit: 531d67cd13d1fdb8c2e638040b4c635f16b264ca
Parents: ea1d02d
Author: gtully <gary.tully@gmail.com>
Authored: Thu Oct 3 13:53:21 2013 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Thu Oct 3 13:53:21 2013 +0100

----------------------------------------------------------------------
 .../org/apache/activemq/plugin/RuntimeConfigurationBroker.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/531d67cd/activemq-runtime-config/src/main/java/org/apache/activemq/plugin/RuntimeConfigurationBroker.java
----------------------------------------------------------------------
diff --git a/activemq-runtime-config/src/main/java/org/apache/activemq/plugin/RuntimeConfigurationBroker.java
b/activemq-runtime-config/src/main/java/org/apache/activemq/plugin/RuntimeConfigurationBroker.java
index 476dff7..1044586 100644
--- a/activemq-runtime-config/src/main/java/org/apache/activemq/plugin/RuntimeConfigurationBroker.java
+++ b/activemq-runtime-config/src/main/java/org/apache/activemq/plugin/RuntimeConfigurationBroker.java
@@ -316,6 +316,8 @@ public class RuntimeConfigurationBroker extends BrokerFilter {
             } else {
                 answer.add(val);
             }
+        } catch (NoSuchMethodException mappingIncomplete) {
+            LOG.debug(o + " has no modifiable elements");
         } catch (Exception e) {
             info("Failed to access getContents for " + o + ", runtime modifications not supported",
e);
         }


Mime
View raw message