org.springframework.integration.aggregator
Interface MessageGroupProcessor
- All Known Implementing Classes:
- AbstractAggregatingMessageGroupProcessor, DefaultAggregatingMessageGroupProcessor, MethodInvokingMessageGroupProcessor, PassThroughMessageGroupProcessor, ResequencingMessageGroupProcessor
public interface MessageGroupProcessor
A processor for correlated groups of messages.
- Author:
- Iwein Fuld
- See Also:
CorrelatingMessageHandler
processAndSend
void processAndSend(MessageGroup group,
MessagingTemplate messagingTemplate,
MessageChannel outputChannel)
- Process the given group and send the resulting message(s) to the output channel using the messaging template.
Implementations are free to send as little or as many messages based on the invocation as needed. For example an
aggregating processor will send only a single message representing the group, where a resequencing strategy will
send all messages in the group individually.
Copyright © 2010. All Rights Reserved.