Class FileMarkerReleaseStrategy
java.lang.Object
org.springframework.integration.file.aggregator.FileMarkerReleaseStrategy
- All Implemented Interfaces:
GroupConditionProvider
,ReleaseStrategy
public class FileMarkerReleaseStrategy
extends Object
implements ReleaseStrategy, GroupConditionProvider
A
ReleaseStrategy
which makes a decision based on the presence of
FileSplitter.FileMarker.Mark.END
message in the group and its FileHeaders.LINE_COUNT
header.
The logic of this strategy is based on the GROUP_CONDITION
function populated to the AbstractCorrelatingMessageHandler
.
- Since:
- 5.5
- Author:
- Artem Bilan
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
GROUP_CONDITION
-
-
Constructor Details
-
FileMarkerReleaseStrategy
public FileMarkerReleaseStrategy()
-
-
Method Details
-
canRelease
- Specified by:
canRelease
in interfaceReleaseStrategy
-
getGroupConditionSupplier
- Specified by:
getGroupConditionSupplier
in interfaceGroupConditionProvider
-