org.ow2.petals.se.eip.patterns
Class ScatterGather

java.lang.Object
  extended by org.ow2.petals.se.eip.patterns.AbstractPattern
      extended by org.ow2.petals.se.eip.patterns.AbstractAggregatorPattern
          extended by 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:
alouis, chamerling - eBM WebSourcing, Frederic Gardes

Field Summary
 
Fields inherited from class org.ow2.petals.se.eip.patterns.AbstractPattern
logger
 
Constructor Summary
ScatterGather()
           
 
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 org.ow2.petals.se.eip.patterns.AbstractAggregatorPattern
processAsync, validateMEP
 
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
 

Constructor Detail

ScatterGather

public ScatterGather()
Method Detail

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-2011 Petals Link (EBM Websourcing). All Rights Reserved.