camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1302094 - /camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/TimerComponent.java
Date Sun, 18 Mar 2012 08:34:19 GMT
Author: davsclaus
Date: Sun Mar 18 08:34:18 2012
New Revision: 1302094

URL: http://svn.apache.org/viewvc?rev=1302094&view=rev
Log:
CAMEL-5099: Timer thread should use same thread name pattern as the others.

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/TimerComponent.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/TimerComponent.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/TimerComponent.java?rev=1302094&r1=1302093&r2=1302094&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/TimerComponent.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/timer/TimerComponent.java
Sun Mar 18 08:34:18 2012
@@ -46,7 +46,7 @@ public class TimerComponent extends Defa
             answer = timers.get(key);
             if (answer == null) {
                 // the timer name is also the thread name, so lets resolve a name to be used
-                String name = endpoint.getCamelContext().getExecutorServiceManager().resolveThreadName(endpoint.getTimerName());
+                String name = endpoint.getCamelContext().getExecutorServiceManager().resolveThreadName("timer://"
+ endpoint.getTimerName());
                 answer = new Timer(name, endpoint.isDaemon());
                 timers.put(key, answer);
             }



Mime
View raw message