org.apache.servicemix.eip.patterns
Class RecipientListAggregator

java.lang.Object
  extended by org.apache.servicemix.common.endpoints.AbstractEndpoint
      extended by org.apache.servicemix.common.endpoints.SimpleEndpoint
          extended by org.apache.servicemix.common.endpoints.ProviderEndpoint
              extended by org.apache.servicemix.eip.EIPEndpoint
                  extended by org.apache.servicemix.eip.support.AbstractAggregator
                      extended by org.apache.servicemix.eip.patterns.SplitAggregator
                          extended by org.apache.servicemix.eip.patterns.RecipientListAggregator
All Implemented Interfaces:
Endpoint

public class RecipientListAggregator
extends SplitAggregator

An aggregator specifically written to aggregate messages that have been sent using a StaticRecipientList pattern.

Version:
$Revision: 376451 $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.servicemix.eip.patterns.SplitAggregator
SplitAggregator.SplitterAggregation
 
Nested classes/interfaces inherited from class org.apache.servicemix.eip.support.AbstractAggregator
AbstractAggregator.ClosedAggregateException
 
Field Summary
 
Fields inherited from class org.apache.servicemix.eip.patterns.SplitAggregator
aggregateElementName, corrId, count, countAttribute, index, indexAttribute, messageElementName, timeout
 
Fields inherited from class org.apache.servicemix.eip.EIPEndpoint
lockManager, store, storeFactory, timerManager, wsdlExchangeTarget, wsdlResource
 
Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
definition, description, endpoint, interfaceName, service, serviceUnit
 
Constructor Summary
RecipientListAggregator()
           
 
Method Summary
 void buildAggregate(java.lang.Object aggregation, javax.jbi.messaging.NormalizedMessage message, javax.jbi.messaging.MessageExchange exchange, boolean timeout)
          Fill the given JBI message with the aggregation result.
 
Methods inherited from class org.apache.servicemix.eip.patterns.SplitAggregator
addMessage, createAggregation, createChildElement, getAggregateElementName, getCorrelationID, getCorrId, getCount, getCountAttribute, getIndex, getIndexAttribute, getMessageElementName, getTimeout, getTimeout, setAggregateElementName, setCorrId, setCount, setCountAttribute, setIndex, setIndexAttribute, setMessageElementName, setTimeout
 
Methods inherited from class org.apache.servicemix.eip.support.AbstractAggregator
closeAggregation, getClosedAggregatesStoreFactory, getTarget, isAggregationClosed, isCopyAttachments, isCopyProperties, isReportClosedAggregatesAsErrors, isReportErrors, isReportTimeoutAsErrors, isRescheduleTimeouts, isSynchronous, onTimeout, process, processAsync, processSync, sendAggregate, setClosedAggregatesStoreFactory, setCopyAttachments, setCopyProperties, setReportClosedAggregatesAsErrors, setReportErrors, setReportTimeoutAsErrors, setRescheduleTimeouts, setSynchronous, setTarget, start
 
Methods inherited from class org.apache.servicemix.eip.EIPEndpoint
chooseFirstEndpointWithDescriptor, copyAttachments, copyProperties, getDefinition, getDefinitionFromDescription, getDefinitionFromWsdlExchangeTarget, getDefinitionFromWsdlResource, getDescription, getDescriptionForExchangeTarget, getEndpointsForExchangeTarget, getLockManager, getStore, getStoreFactory, getTimerManager, getWsdlExchangeTarget, getWsdlResource, setLockManager, setStore, setStoreFactory, setTimerManager, setWsdlExchangeTarget, setWsdlResource, stop
 
Methods inherited from class org.apache.servicemix.common.endpoints.ProviderEndpoint
activate, deactivate, getRole, processInOnly, processInOut
 
Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint
done, fail, getChannel, getContext, getExchangeFactory, send, sendSync
 
Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecipientListAggregator

public RecipientListAggregator()
Method Detail

buildAggregate

public void buildAggregate(java.lang.Object aggregation,
                           javax.jbi.messaging.NormalizedMessage message,
                           javax.jbi.messaging.MessageExchange exchange,
                           boolean timeout)
                    throws java.lang.Exception
Description copied from class: AbstractAggregator
Fill the given JBI message with the aggregation result.

Overrides:
buildAggregate in class SplitAggregator
timeout - false if the aggregation has completed or true if this aggregation has timed out
Throws:
java.lang.Exception


Copyright © 2005-2011 FuseSource. All Rights Reserved.