rsvalerio wrote:
No I`m using java dsl.

I don`t know what`s the trick.

camelContext.getRegistry()
OK, you can do the work like this

JndiRegistry registry = (JndiRegistry)camelContext.getRegistry();
registry.bind("myReadLockStrategy", new AppFileChangedExclusiveReadLockStrategy());

Willem
----------------------------------
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang



don`t have a method to use to set class in registry

Thanks



Reply via email to