|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.example.tracer.QuoteAggregator
public class QuoteAggregator
Our aggregator where we aggregate all the quotes and find the the best quotes based on the one that has the most cool words from our cools words list
| Constructor Summary | |
|---|---|
QuoteAggregator()
|
|
| Method Summary | |
|---|---|
org.apache.camel.Exchange |
aggregate(org.apache.camel.Exchange oldExchange,
org.apache.camel.Exchange newExchange)
|
void |
setCoolWords(java.util.List<java.lang.String> coolWords)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuoteAggregator()
| Method Detail |
|---|
public void setCoolWords(java.util.List<java.lang.String> coolWords)
public org.apache.camel.Exchange aggregate(org.apache.camel.Exchange oldExchange,
org.apache.camel.Exchange newExchange)
aggregate in interface org.apache.camel.processor.aggregate.AggregationStrategy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||