org.apache.camel.component.rss
Class AggregateRssFeedStrategy
java.lang.Object
org.apache.camel.component.rss.AggregateRssFeedStrategy
- All Implemented Interfaces:
- AggregationStrategy
public class AggregateRssFeedStrategy
- extends Object
- implements AggregationStrategy
|
Field Summary |
protected org.slf4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final transient org.slf4j.Logger log
AggregateRssFeedStrategy
public AggregateRssFeedStrategy()
aggregate
public Exchange aggregate(Exchange oldExchange,
Exchange newExchange)
- Description copied from interface:
AggregationStrategy
- Aggregates an old and new exchange together to create a single combined exchange
- Specified by:
aggregate in interface AggregationStrategy
- Parameters:
oldExchange - the oldest exchange (is null on first aggregation as we only have the new exchange)newExchange - the newest exchange (can be null if there was no data possible to acquire)
- Returns:
- a combined composite of the two exchanges
Apache CAMEL