camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <james.strac...@gmail.com>
Subject Re: No camel-clock? How does one test?
Date Tue, 01 Dec 2009 14:19:20 GMT
2009/12/1 Barry Kaplan <groups1@memelet.com>:
> Looking thru 2.1, there really aren't too many places where System.* time
> methods are used. Would Camel be interesting in patch that provides a clock
> abstraction (with just the two System.* time methods) where the default
> implementation would be System.*?

Sounds good to me! :)

> If so, what would be the camel way of providing access to the CamelClock to
> components? Via a static? Via Service (assuming that only components that
> extend Service would need the clock)? Or...?

I guess it could be injected via Ioc? Or available on the CamelContext I guess?

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message