camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject camel git commit: Fixes CAMEL-8385: Add a OldestInflightDuration and OldestInflightExchangeId attribute to route MBeans
Date Mon, 02 Mar 2015 14:15:50 GMT
Repository: camel
Updated Branches:
  refs/heads/master 8f6d4adb0 -> cef078586


Fixes CAMEL-8385: Add a OldestInflightDuration and OldestInflightExchangeId attribute to route
MBeans

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

Branch: refs/heads/master
Commit: cef07858664c489675c5beff7bf9a8619a2f2eee
Parents: 8f6d4ad
Author: Hiram Chirino <hiram@hiramchirino.com>
Authored: Mon Mar 2 09:15:45 2015 -0500
Committer: Hiram Chirino <hiram@hiramchirino.com>
Committed: Mon Mar 2 09:15:45 2015 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/camel/management/mbean/ManagedRoute.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/cef07858/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedRoute.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedRoute.java
b/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedRoute.java
index fba8b62..40d5387 100644
--- a/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedRoute.java
+++ b/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedRoute.java
@@ -337,7 +337,7 @@ public class ManagedRoute extends ManagedPerformanceCounter implements
TimerList
         answer.append(" selfProcessingTime=\"").append(routeSelfTime).append("\"");
         answer.append(" exchangesInflight=\"").append(getInflightExchanges()).append("\"");
         InFlightKey oldestInflightEntry = getOldestInflightEntry();
-        if (oldestInflightEntry != null) {
+        if (oldestInflightEntry == null) {
             answer.append(" oldestInflightExchangeId=\"\"");
             answer.append(" oldestInflightDuration=\"\"");
         } else {


Mime
View raw message