1
如何追加駱駝交換機構在聚合策略。在駱駝追加交換機構與聚合策略
public class MyAggregationStrategy implements AggregationStrategy {
public Exchange aggregate(Exchange newExchange, Exchange originalExchange) {
//I want to append body of newExchange to originalExchange.
// Currently I'm copying properties with following and returning exchange
ExchangeHelper.copyResults(originalExchange, newExchange);
}}
簡短的回答,是的。 –
我該如何實現 – rathna
http://camel.apache.org/aggregator2.html有幾個部分顯示如何追加這些實體。 –