camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] git commit: CAMEL-7045: Fixed backlog tracer dump traced message to match node or route id.
Date Fri, 06 Dec 2013 09:59:31 GMT
Updated Branches:
  refs/heads/camel-2.11.x bfd357ca5 -> 0c36c064a
  refs/heads/camel-2.12.x ba7071b2c -> a351d3dcf
  refs/heads/master d43c34bca -> 278761b29


CAMEL-7045: Fixed backlog tracer dump traced message to match node or route id.


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

Branch: refs/heads/camel-2.11.x
Commit: 0c36c064a2401ec60c3a593283891601525b9d02
Parents: bfd357c
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Dec 6 11:00:07 2013 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Dec 6 11:01:37 2013 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/processor/interceptor/BacklogTracer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0c36c064/camel-core/src/main/java/org/apache/camel/processor/interceptor/BacklogTracer.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/interceptor/BacklogTracer.java
b/camel-core/src/main/java/org/apache/camel/processor/interceptor/BacklogTracer.java
index 5c156b0..bfdbce7 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/interceptor/BacklogTracer.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/interceptor/BacklogTracer.java
@@ -267,7 +267,7 @@ public class BacklogTracer extends ServiceSupport implements InterceptStrategy
{
         List<BacklogTracerEventMessage> answer = new ArrayList<BacklogTracerEventMessage>();
         if (nodeId != null) {
             for (DefaultBacklogTracerEventMessage message : queue) {
-                if (nodeId.equals(message.getToNode())) {
+                if (nodeId.equals(message.getToNode()) || nodeId.equals(message.getRouteId()))
{
                     answer.add(message);
                 }
             }


Mime
View raw message