camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: CAMEL-6838 Fixed the traceExchangeOut issue of JMX Notification Trace Event Handler
Date Tue, 18 Feb 2014 06:38:15 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.12.x 887f7c39a -> fa07991fe


CAMEL-6838 Fixed the traceExchangeOut issue of JMX Notification Trace Event Handler


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

Branch: refs/heads/camel-2.12.x
Commit: fa07991feb3beb5f79b22654c22be024cf34071d
Parents: 887f7c3
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue Feb 18 14:26:44 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue Feb 18 14:37:48 2014 +0800

----------------------------------------------------------------------
 .../camel/management/mbean/JMXNotificationTraceEventHandler.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/fa07991f/camel-core/src/main/java/org/apache/camel/management/mbean/JMXNotificationTraceEventHandler.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/management/mbean/JMXNotificationTraceEventHandler.java
b/camel-core/src/main/java/org/apache/camel/management/mbean/JMXNotificationTraceEventHandler.java
index e6fea29..dccc638 100644
--- a/camel-core/src/main/java/org/apache/camel/management/mbean/JMXNotificationTraceEventHandler.java
+++ b/camel-core/src/main/java/org/apache/camel/management/mbean/JMXNotificationTraceEventHandler.java
@@ -45,9 +45,12 @@ public final class JMXNotificationTraceEventHandler implements TraceEventHandler
     }
 
     public void traceExchangeOut(ProcessorDefinition<?> node, Processor target, TraceInterceptor
traceInterceptor, Exchange exchange, Object traceState) throws Exception {
+        // We do nothing here
     }
 
     public Object traceExchangeIn(ProcessorDefinition<?> node, Processor target, TraceInterceptor
traceInterceptor, Exchange exchange) throws Exception {
+        // Just trace the exchange as usual
+        traceExchange(node, target, traceInterceptor, exchange);
         return null;
     }
 


Mime
View raw message