Re: How to clear the cache of MemoryIdempotentRepository

2023-04-19 Thread Claus Ibsen
Hi If you use JMX then there is JMX operations to clear. Otherwise you can create an instance of the memory repo, and use in the route, and from java code you can invoke its clear method to clear the cache. You can make that code also be executed by the end of the route if you add it as

How to clear the cache of MemoryIdempotentRepository

2023-04-19 Thread Reto Peter
Hi all I have a route, which checks for uniqueness of a certain value (find duplicates, and in case of duplicates, the route will throw an exception). That works fine so far. At the end of the route, I want to clear the cache, so next time the route gets executed, it shall start with an empty