org.ow2.petals.se.eip.patterns
Class ScatterGather
java.lang.Object
org.ow2.petals.se.eip.patterns.AbstractPattern
org.ow2.petals.se.eip.patterns.AbstractAggregatorPattern
org.ow2.petals.se.eip.patterns.ScatterGather
- All Implemented Interfaces:
- Pattern
public class ScatterGather
- extends AbstractAggregatorPattern
Aggregate all Consumes services defined in the service unit.
Return the aggregated results.It accepts InOut only. If a Fault or Error
occurs on a call, stop the process and return the Fault or Error if no
robustness are used
- Author:
- Adrien Louis - EBM WebSourcing, Christophe Hamerling - EBM WebSourcing, Frederic Gardes - EBM WebSourcing
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScatterGather
public ScatterGather()
getName
public java.lang.String getName()
- Description copied from interface:
Pattern
- Get the pattern name.
- Returns:
- The name
getNameSpace
public java.lang.String getNameSpace()
- Description copied from class:
AbstractPattern
- Get the pattern namespace.
- Specified by:
getNameSpace in class AbstractPattern
- Returns:
- The namespace
init
public void init()
- Description copied from interface:
Pattern
- Initialize the pattern
process
public boolean process(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context)
- Description copied from class:
AbstractPattern
- Process the message.
- Specified by:
process in class AbstractPattern
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.