public void configure() throws Exception {
// delete the data directory
deleteDirectory("target/data");
// create the leveldb repo
LevelDBAggregationRepository repo = new LevelDBAggregationRepository("repo1", "target/data/leveldb.dat");
// here is the Camel route where we aggregate
from("direct:start")
.aggregate(header("id"), new MyAggregationStrategy())
// use our created leveldb repo as aggregation repository