Does your uri look something like “cache:blah”? It should be whatever bean name you’ve chosen. In your example it is “TestCache2:blah"
Easier just to name your bean “cache” to override the default. > On 28 Nov 2015, at 4:11 AM, ncasaux <nicolas.cas...@soprasteria.com> wrote: > > Hello, > > I'm trying to use the camel cache component with a configuration file as > described in the camel cache component: > > <bean id="TestCache2" > class="org.apache.camel.component.cache.CacheComponent"> > <property name="configurationFile" > value="file:D:\\Tools\\apache-servicemix-6.0.1\\etc\\ehcache.xml"/> > </bean> > > However, it's not working, as I always get the message when I update the > bundle: > net.sf.ehcache - 2.9.1 | No configuration found. Configuring ehcache from > ehcache-failsafe.xml found in the classpath: > bundle://242.0:1/ehcache-failsafe.xml > > Ideally, I would like to use a value like "[karaf_etc]\ehcache.xml"... > > Am I doing something wrong ? Thanks in advance for your feedback. > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-cache-configurationFile-tp5774492.html > Sent from the Camel - Users mailing list archive at Nabble.com.