Hi That TestCache2 in your uri is not the name of the bean, it’s the name of the cache.
The easiest way to fix your problem is to set the id your spring bean from “TestCache2" to “cache” in your xml earlier > On 30 Nov 2015, at 7:32 PM, ncasaux <nicolas.cas...@soprasteria.com> wrote: > > Hello, > > In my route, I'm using this URI, which seems OK with the bean to me: > > .to("cache://TestCache2") > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-cache-configurationFile-tp5774492p5774549.html > Sent from the Camel - Users mailing list archive at Nabble.com.