you should be able to configure your cache explicitly using an ehcache.xml file (just create one in your /src/main/resources directory)
otherwise, I'll investigate adding support for configuring cache properties in the cache producer as well... Marco Westermann wrote: > > Hi, > > how do I configure the camel-cache (ehcache) component, if I don't need > a from(cache) in my route? I don't wan't to react on changes in the cache. > > in docs http://camel.apache.org/cache.html the example does the > configuration within the from-element. > > If I try to add values to the cache directly I get an exception: > > net.sf.ehcache.CacheException: Error configuring from null. Initial > cause was null > > I use camel 2.6 inside smx. > > thanks for any help. > ----- Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context: http://camel.465427.n5.nabble.com/camel-cache-configuration-tp4514476p4514838.html Sent from the Camel - Users mailing list archive at Nabble.com.