Re: [I] Caching a header from one route to another [camel-karavan]

2024-01-17 Thread via GitHub
mgubaidullin closed issue #1067: Caching a header from one route to another URL: https://github.com/apache/camel-karavan/issues/1067 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comme

Re: [I] Caching a header from one route to another [camel-karavan]

2024-01-17 Thread via GitHub
mgubaidullin commented on issue #1067: URL: https://github.com/apache/camel-karavan/issues/1067#issuecomment-1895951284 Thanks @davsclaus and @oscerd @samar-elsayed you can not put header directly to Caffeine. Set the data you want to cache to exchange body and then put into caffeine

Re: [I] Caching a header from one route to another [camel-karavan]

2024-01-16 Thread via GitHub
davsclaus commented on issue #1067: URL: https://github.com/apache/camel-karavan/issues/1067#issuecomment-1895081260 its context scoped (in reality per component), also it creates a default in-memory cache if not specially created as the link from Andrea above. -- This is an automated mes

Re: [I] Caching a header from one route to another [camel-karavan]

2024-01-16 Thread via GitHub
oscerd commented on issue #1067: URL: https://github.com/apache/camel-karavan/issues/1067#issuecomment-1894980643 You can bind the cache to registry and re-use the same instance in multiple routes of the context https://camel.apache.org/components/4.0.x/caffeine-cache-component.html#_exampl

[I] Caching a header from one route to another [camel-karavan]

2024-01-16 Thread via GitHub
samar-elsayed opened a new issue, #1067: URL: https://github.com/apache/camel-karavan/issues/1067 Hi, I am trying to cache a certain header to use it in another route so I have tried caffeine-cache but I dont seem to be able to make it work, could you please explain to me how to use