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

Method Summary
 void processAndSend(MessageGroup group, MessageChannelTemplate channelTemplate, MessageChannel outputChannel)
          Process the given group and send the resulting message(s) to the output channel using the channel template.
 

Method Detail

processAndSend

void processAndSend(MessageGroup group,
                    MessageChannelTemplate channelTemplate,
                    MessageChannel outputChannel)
Process the given group and send the resulting message(s) to the output channel using the channel 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.