Class ResequencingMessageGroupProcessor
java.lang.Object
org.springframework.integration.aggregator.ResequencingMessageGroupProcessor
- All Implemented Interfaces:
- MessageGroupProcessor
This class implements all the strategy interfaces needed for a default resequencer.
- Since:
- 2.0
- Author:
- Iwein Fuld, Dave Syer, Oleg Zhurakousky, Artem Bilan, Ngoc Nhan
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprocessMessageGroup(MessageGroup group) Process the given MessageGroup.
- 
Constructor Details- 
ResequencingMessageGroupProcessorpublic ResequencingMessageGroupProcessor()
 
- 
- 
Method Details- 
processMessageGroupDescription copied from interface:MessageGroupProcessorProcess 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.If a multiple messages are returned the return value must be a Collection<Message>. - Specified by:
- processMessageGroupin interface- MessageGroupProcessor
- Parameters:
- group- The message group.
- Returns:
- The result of processing the group.
 
 
-