org.springframework.integration.aggregator
Class PassThroughMessageGroupProcessor
java.lang.Object
org.springframework.integration.aggregator.PassThroughMessageGroupProcessor
- All Implemented Interfaces:
- MessageGroupProcessor
public class PassThroughMessageGroupProcessor
- extends Object
- implements MessageGroupProcessor
This implementation of MessageGroupProcessor will return all unmarked messages inside the group.
This is useful if there is no requirement to process the messages, but they should just be
blocked as a group until their ReleaseStrategy lets them pass through.
- Since:
- 2.0.0
- Author:
- Iwein Fuld
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassThroughMessageGroupProcessor
public PassThroughMessageGroupProcessor()
processMessageGroup
public Object processMessageGroup(MessageGroup group)
- Description copied from interface:
MessageGroupProcessor
- 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.
- Specified by:
processMessageGroup
in interface MessageGroupProcessor
Copyright © 2010. All Rights Reserved.