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 thetrigger
method 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.TheFunction
implementation 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.TheMessageGroupProcessor
implementation with delegation to the provideddelegate
and optional aggregation for headers.CorrelationStrategy
implementation that evaluates an expression.AMessageGroupProcessor
implementation 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.AReleaseStrategy
that evaluates an expression.TheAbstractMessageProducingHandler
implementation 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 theReleaseStrategy
and used in theAbstractCorrelatingMessageHandler
to populate the provided group condition supplier.Default implementation ofCorrelationStrategy
.Event representing the expiration of a message group.A processor for correlated groups of messages.CorrelationStrategy
implementation 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.AReleaseStrategy
that 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 ofReleaseStrategy
that simply compares the current size of the message list to the expected 'sequenceSize'.AMessageGroupProcessor
that simply returns the messages in the group.An implementation ofReleaseStrategy
that simply compares the current size of the message list to the expected 'sequenceSize'.AReleaseStrategy
that 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.