public abstract class AbstractEventAggregator extends SelectiveConsumer
AbstractEventAggregator will aggregate a set of messages into a
single message.loggermuleContextPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
AbstractEventAggregator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract EventCorrelatorCallback |
getCorrelatorCallback() |
int |
getTimeout() |
void |
initialise()
Method used to perform any initialisation work.
|
MuleEvent[] |
process(MuleEvent event)
A received MuleEvent is passed to this method for processing.
|
void |
setTimeout(int timeout) |
getFilter, getMessageInfoMapping, isMatch, isTransformFirst, setFilter, setMessageInfoMapping, setTransformFirstdispose, getMuleContext, getRouterStatistics, setMuleContext, setRouterStatisticsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRouterStatistics, setRouterStatisticsdisposepublic void initialise()
throws InitialisationException
InitialisableInitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise in interface Initialisableinitialise in class AbstractRouterInitialisationException - if a fatal error occurs causing the Mule instance to shutdownRecoverableException - if an error occurs that can be recovered fromprotected abstract EventCorrelatorCallback getCorrelatorCallback()
public MuleEvent[] process(MuleEvent event) throws MessagingException
InboundRouterprocess in interface InboundRouterprocess in class SelectiveConsumerevent - the event received by the inbound endpoint before it is passed to
the serviceMessagingException - if an error occurs during processing of the eventpublic int getTimeout()
public void setTimeout(int timeout)
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.