Package org.apache.camel.component.leveldb

Examples of org.apache.camel.component.leveldb.LevelDBAggregationRepository


            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
View Full Code Here


            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
View Full Code Here

TOP

Related Classes of org.apache.camel.component.leveldb.LevelDBAggregationRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.