camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmuel...@apache.org
Subject svn commit: r1422121 - /camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/management/InstrumentationProcessor.java
Date Fri, 14 Dec 2012 22:09:40 GMT
Author: cmueller
Date: Fri Dec 14 22:09:38 2012
New Revision: 1422121

URL: http://svn.apache.org/viewvc?rev=1422121&view=rev
Log:
CAMEL-5844: Camel Tracer not showing some EIP names

Modified:
    camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/management/InstrumentationProcessor.java

Modified: camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/management/InstrumentationProcessor.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/management/InstrumentationProcessor.java?rev=1422121&r1=1422120&r2=1422121&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/management/InstrumentationProcessor.java
(original)
+++ camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/management/InstrumentationProcessor.java
Fri Dec 14 22:09:38 2012
@@ -18,7 +18,6 @@ package org.apache.camel.management;
 
 import org.apache.camel.AsyncCallback;
 import org.apache.camel.Exchange;
-import org.apache.camel.Traceable;
 import org.apache.camel.api.management.PerformanceCounter;
 import org.apache.camel.management.mbean.ManagedPerformanceCounter;
 import org.apache.camel.processor.DelegateAsyncProcessor;
@@ -32,7 +31,7 @@ import org.slf4j.LoggerFactory;
  *
  * @version 
  */
-public class InstrumentationProcessor extends DelegateAsyncProcessor implements Traceable
{
+public class InstrumentationProcessor extends DelegateAsyncProcessor {
 
     private static final transient Logger LOG = LoggerFactory.getLogger(InstrumentationProcessor.class);
     private PerformanceCounter counter;
@@ -109,14 +108,4 @@ public class InstrumentationProcessor ex
     public void setType(String type) {
         this.type = type;
     }
-
-    @Override
-    public String getTraceLabel() {
-        if (processor instanceof Traceable) {
-            return ((Traceable)processor).getTraceLabel();
-        } else {
-            return "";
-        }
-        
-    }
 }



Mime
View raw message