org.apache.camel.example
Class NumberAggregationStrategy

java.lang.Object
  extended by org.apache.camel.example.NumberAggregationStrategy
All Implemented Interfaces:
AggregationStrategy

public class NumberAggregationStrategy
extends Object
implements AggregationStrategy

Aggregate two numbers

Version:
$Revision: 18163 $

Constructor Summary
NumberAggregationStrategy()
           
 
Method Summary
 Exchange aggregate(Exchange oldExchange, Exchange newExchange)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberAggregationStrategy

public NumberAggregationStrategy()
Method Detail

aggregate

public Exchange aggregate(Exchange oldExchange,
                          Exchange newExchange)
Specified by:
aggregate in interface AggregationStrategy


Apache CAMEL