Examples of MyAggregationStrategy


Examples of org.apache.camel.processor.MyAggregationStrategy

                    .aggregate(header("cheese"), new UseLatestAggregationStrategy()).completionTimeout(1000L)
                        .to("mock:result");

                // in this sample we aggregate using our own strategy with a completion predicate
                from("direct:predicate")
                    .aggregate(header("cheese"), new MyAggregationStrategy())
                        .eagerCheckCompletion()
                        .completionPredicate(header("bar").isEqualTo("viper bar"))
                        // or complete with a timeout
                        .completionTimeout(1000L)
                        .to("mock:result");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.