public interface EventCorrelatorCallback
| Modifier and Type | Method and Description |
|---|---|
Event |
aggregateEvents(EventGroup events)
This method is invoked if the shouldAggregate method is called and returns true.
|
EventGroup |
createEventGroup(Event event,
Object id)
Creates the event group with a specific correlation size based on the Mule GroupCorrelation 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 correlatorEvent 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(Event event, Object id)
id - The group idevent - the current eventCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.