Spring Integration

org.springframework.integration.aggregator
Interface MessageGroupProcessor

All Known Implementing Classes:
AbstractAggregatingMessageGroupProcessor, DefaultAggregatingMessageGroupProcessor, ExpressionEvaluatingMessageGroupProcessor, MethodInvokingMessageGroupProcessor, PassThroughMessageGroupProcessor, ResequencingMessageGroupProcessor

public interface MessageGroupProcessor

A processor for correlated groups of messages.

Author:
Iwein Fuld
See Also:
CorrelatingMessageHandler

Method Summary
 Object processMessageGroup(MessageGroup group)
          Process the given MessageGroup.
 

Method Detail

processMessageGroup

Object processMessageGroup(MessageGroup group)
Process the given MessageGroup. Implementations are free to return as few or as many messages based on the invocation as needed. For example an aggregating processor will return only a single message representing the group, while a resequencing processor will return all messages whose preceding sequence has been satisfied.


Spring Integration

Copyright © 2010. All Rights Reserved.