Package org.springframework.integration.aggregator
package org.springframework.integration.aggregator
Provides classes related to message aggregation.
-
ClassDescriptionBase class for MessageGroupProcessor implementations that aggregate the group of Messages into a single Message.Abstract Message handler that holds a buffer of correlated messages in a
MessageStore.Aggregator specific implementation ofAbstractCorrelatingMessageHandler.A message handler that suspends the thread until a message with corresponding correlation is passed into thetriggermethod or the timeout occurs.This Endpoint serves as a barrier for messages that should not be processed yet.Strategy for determining how messages can be correlated.TheFunctionimplementation for a default headers merging in the aggregator component.This implementation of MessageGroupProcessor will take the messages from the MessageGroup and pass them on in a single message with a Collection as a payload.TheMessageGroupProcessorimplementation with delegation to the provideddelegateand optional aggregation for headers.CorrelationStrategyimplementation that evaluates an expression.AMessageGroupProcessorimplementation that evaluates a SpEL expression.A base class for aggregators that evaluates a SpEL expression with the message list as the root object within the evaluation context.AReleaseStrategythat evaluates an expression.TheAbstractMessageProducingHandlerimplementation for aggregation logic based on Reactor'sFlux.groupBy(java.util.function.Function<? super T, ? extends K>)andFlux.window(int)operators.A contract which can be implemented on theReleaseStrategyand used in theAbstractCorrelatingMessageHandlerto populate the provided group condition supplier.Default implementation ofCorrelationStrategy.Event representing the expiration of a message group.A processor for correlated groups of messages.CorrelationStrategyimplementation that works as an adapter to another bean.MessageGroupProcessor that serves as an adapter for the invocation of a POJO method.A MessageListProcessor implementation that invokes a method on a target POJO.AReleaseStrategythat invokes a method on a plain old Java object.Strategy for determining when a group of messages reaches a state of completion (i.e.This class implements all the strategy interfaces needed for a default resequencer.Resequencer specific implementation ofAbstractCorrelatingMessageHandler.An implementation ofReleaseStrategythat simply compares the current size of the message list to the expected 'sequenceSize'.AMessageGroupProcessorthat simply returns the messages in the group.An implementation ofReleaseStrategythat simply compares the current size of the message list to the expected 'sequenceSize'.AReleaseStrategythat releases all messages if any of the following is true: The sequence is complete (if there is one). There are more messages than a threshold set by the user. The time elapsed since the earliest message, according to their timestamps, if present, exceeds a timeout set by the user.