- All Implemented Interfaces:
public class DelegatingMessageGroupProcessor extends Object implements MessageGroupProcessor, BeanFactoryAware, ManageableLifecycle
MessageGroupProcessorimplementation with delegation to the provided
delegateand optional aggregation for headers.
AbstractAggregatingMessageGroupProcessor this processor checks a result
delegate call and aggregates headers into the output only
if the result is not a
This processor is used internally for wrapping provided non-standard
when a aggregate headers
Function is provided.
For POJO method invoking or SpEL expression evaluation it is recommended to use an
- Artem Bilan
Description 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>.
public void start()
public void stop()
public boolean isRunning()