You can delete the file On Mon, Feb 22, 2016 at 11:36 AM, Hubertus.Willuhn <hubertus.will...@dinsoftware.de> wrote: > Hi, > > i use LevelDBRepository for Aggregation. Is there an Option to clear/empty > the > repository files before executing my camel routes again? > > The Problem is that, if i run my app twice the repository tries to restore > all exchanges > from the last run...which isn't correct. > > My Initialization looks like: > > LevelDBAggregationRepository repository = new > LevelDBAggregationRepository("cen", "tmp/cache/leveldb.dat"); > > repository.setUseRecovery(false); > > Setting the above option doesn't help. My Log looks like: > > 2016-02-22 11:34:25.680 [main] WARN > o.a.c.c.leveldb.LevelDBAggregationRepository -- On startup there are 13659 > completed exchanges to be recovered in repository: cen-completed > > I do not want to reused old exchanges. > > Best regards, > > Hubertus > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/LevelDB-and-Reset-Option-tp5778038.html > Sent from the Camel - Users mailing list archive at Nabble.com.
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2