public interface EventCorrelatorCallback
| Modifier and Type | Method and Description |
|---|---|
MuleEvent |
aggregateEvents(EventGroup events)
This method is invoked if the shouldAggregate method is called and returns
true.
|
EventGroup |
createEventGroup(MuleEvent event,
Object id)
Creates the event group with a specific correlation size based on the Mule
Correlation support
|
boolean |
shouldAggregateEvents(EventGroup events)
Determines if the event group is ready to be aggregated.
|
boolean shouldAggregateEvents(EventGroup events)
events - The current event group received by the correlatorMuleEvent aggregateEvents(EventGroup events) throws RoutingException
events - the event group for this requestAggregationException - if the aggregation fails. in this scenario the
whole event group is removed and passed to the exception handler
for this componentRoutingExceptionEventGroup createEventGroup(MuleEvent event, Object id)
id - The group idevent - the current eventCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.