Hi,

> Having a trigger seems to be a  simple solution, but does *camel provide a
> way to listen to a DB trigger*?

You can use trigger to invoke Camel endpoint. For example in Postgres
you can write modules in PL/Python [1] and invoke HTTP Netty endpoint
exposed by Camel. Messages from that endpoint can be routed to
invalidate the cache.

Cheers.

[1] http://www.postgresql.org/docs/9.1/static/plpython-trigger.html

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

Reply via email to