Class FileAggregatingMessageGroupProcessor
java.lang.Object
org.springframework.integration.aggregator.AbstractAggregatingMessageGroupProcessor
org.springframework.integration.file.aggregator.FileAggregatingMessageGroupProcessor
- All Implemented Interfaces:
Aware,BeanFactoryAware,MessageGroupProcessor
An
AbstractAggregatingMessageGroupProcessor implementation for file content collecting
previously splitted by the FileSplitter
with the markers option turned on.
If no file markers present in the MessageGroup, then behavior of this processor is
similar to the DefaultAggregatingMessageGroupProcessor.
When no file content (only file markers are grouped), this processor emits an empty ArrayList.
Note: with no file content and markers turned off,
the FileSplitter doesn't emit any messages
for possible aggregation downstream.
- Since:
- 5.5
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.aggregator.AbstractAggregatingMessageGroupProcessor
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectaggregatePayloads(MessageGroup group, Map<String, Object> defaultHeaders) Methods inherited from class org.springframework.integration.aggregator.AbstractAggregatingMessageGroupProcessor
aggregateHeaders, getHeadersFunction, getMessageBuilderFactory, processMessageGroup, setBeanFactory, setHeadersFunction
-
Constructor Details
-
FileAggregatingMessageGroupProcessor
public FileAggregatingMessageGroupProcessor()
-
-
Method Details
-
aggregatePayloads
- Specified by:
aggregatePayloadsin classAbstractAggregatingMessageGroupProcessor
-