Hi,

> I'm looking at something that
> would automatically flush the cache for the key, run the mybatis query and
> cache its result again?

No such thing out of the box. You need to control the cache by
explicit calls to camel-cache operations. You can however consider
using interceptors [1] to partially automate such calls in the AOP
manner.

Cheers.

[1] http://camel.apache.org/intercept.html

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to