|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.se.eip.patterns.AbstractPattern
org.ow2.petals.se.eip.patterns.Aggregator
public class Aggregator
Receives a bunch of messages and identifies messages that are correlated (XPATH expression). Once a complete set of messages has been received (XPATH expression on special message to decide that the set is complete), the aggregator collects information from each correlated message and publishes a single, aggregated message to the output channel for further processing. It returns the result to this special message if it exists.
| Field Summary | |
|---|---|
static java.lang.String |
AGGREGATOR_NAMESPACE
|
| Fields inherited from class org.ow2.petals.se.eip.patterns.AbstractPattern |
|---|
logger |
| Constructor Summary | |
|---|---|
Aggregator()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Get the pattern name. |
java.lang.String |
getNameSpace()
Get the pattern namespace. |
void |
init()
Initialize the pattern |
boolean |
process(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context)
Process the message. |
boolean |
processAsync(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context,
CommonAsyncContext asyncContext)
Process the async message. |
boolean |
validateMEP(java.net.URI pattern)
Validate the MEP for the pattern. |
| Methods inherited from class org.ow2.petals.se.eip.patterns.AbstractPattern |
|---|
isAttachmentMode, isExceptionRobust, isFaultRobust, isFaultToException, logSend, processAsyncPattern, processExpiredAsync, processPattern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String AGGREGATOR_NAMESPACE
| Constructor Detail |
|---|
public Aggregator()
| Method Detail |
|---|
public java.lang.String getName()
Pattern
public java.lang.String getNameSpace()
AbstractPattern
getNameSpace in class AbstractPatternpublic void init()
Pattern
public boolean process(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context)
AbstractPattern
process in class AbstractPattern
public boolean processAsync(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context,
CommonAsyncContext asyncContext)
AbstractPattern
processAsync in class AbstractPatternpublic boolean validateMEP(java.net.URI pattern)
AbstractPattern
validateMEP in class AbstractPatternpattern - the mep of the incoming message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||