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.

Reply via email to