|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.routing.DefaultRouterResultsHandler
public class DefaultRouterResultsHandler
The default results handler for all outbound endpoint. Depending on the number of messages passed it
the returning message will be different.
If the 'results' param is null or empty, null is returned.
If the 'results' param contains a single MuleMessage
, than that message is returned.
If the 'results' param contains more than one message a MuleMessageCollection
instance
is returned.
MuleMessageCollection
,
MuleMessage
,
DefaultMessageCollection
Constructor Summary | |
---|---|
DefaultRouterResultsHandler()
|
Method Summary | |
---|---|
MuleEvent |
aggregateResults(java.util.List<MuleEvent> results,
MuleEvent previous,
MuleContext muleContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRouterResultsHandler()
Method Detail |
---|
public MuleEvent aggregateResults(java.util.List<MuleEvent> results, MuleEvent previous, MuleContext muleContext)
aggregateResults
in interface RouterResultsHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |