Re: Problems configuring FileIdempotentRepository

2014-11-01 Thread Claus Ibsen
Hi Yeah the code in doStart / loadStore should create the file store if it does not exists. Then Camel will create the store on startup, and the file is there. I logged ticket to get this fixed https://issues.apache.org/jira/browse/CAMEL-7989 On Wed, Oct 29, 2014 at 4:57 PM, Henryk Konsek wrot

Re: Problems configuring FileIdempotentRepository

2014-10-29 Thread Henryk Konsek
> The underlying problem is that if the idempotent repository file doesn't > exist Camel doesn't seem to create it. If you can reproduce the issue with the Maven example, you could create a Jira issue with bug report. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Problems configuring FileIdempotentRepository

2014-10-28 Thread Knut-Håvard Aksnes
The underlying problem is that if the idempotent repository file doesn't exist Camel doesn't seem to create it. If I create it as an empty file the repository seems to always be truncated during the save phase: Even with only a few files there and a with a huge file store size. In the last case I g

Re: Problems configuring FileIdempotentRepository

2014-10-28 Thread Henryk Konsek
Hi, > I need to set the value to something larger than 0 as a cache with a fixed > maximum size of 0 is useless. Keep in mind that FileIdempotentRepository.html#getCacheSize() [1] return the current, not maximum the size of the cache. Laters! [1] http://camel.apache.org/maven/current/camel-cor

Re: Problems configuring FileIdempotentRepository

2014-10-28 Thread Knut-Håvard Aksnes
I am using Camel 2.12.4 This doesn't help so I assume that the problem isn't related to the cacheSize setter: -- View this message in context: http://camel.465427.n5.nabble.com/Problems-configuring-FileIdempotentRepository-t