Re: Using Timer in Camel

2014-09-02 Thread Shiv
Hi Charles, Thanks for your detailed reply. It resolves my query and confusion. -Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Using-Timer-in-Camel-tp5755951p5755990.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using Timer in Camel

2014-09-02 Thread Charles Moulliard
Hi Shiv, The Camel component maintains a Map of the Timer objects that the endpoint check when this method is called public synchronized Timer getTimer() { if (timer == null) { TimerComponent tc = (TimerComponent)getComponent(); timer = tc.getTimer(this); // CALL G

Re: Using Timer in Camel

2014-09-02 Thread Matt Sicker
I believe it's either speaking of Timer: http://docs.oracle.com/javase/7/docs/api/java/util/Timer.html Or it may be speaking of ScheduledExecutorService: http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ScheduledExecutorService.html On 2 September 2014 02:52, Shiv wrote: > Hi, > I