Class SimpleSequenceSizeReleaseStrategy
java.lang.Object
org.springframework.integration.aggregator.SimpleSequenceSizeReleaseStrategy
- All Implemented Interfaces:
ReleaseStrategy
public class SimpleSequenceSizeReleaseStrategy extends Object implements ReleaseStrategy
An implementation of
ReleaseStrategy
that simply compares the current size of
the message list to the expected 'sequenceSize'. It does not support releasing partial
sequences. Correlating message handlers using this strategy do not check for duplicate
sequence numbers.- Since:
- 4.3.4
- Author:
- Gary Russell
-
Constructor Summary
Constructors Constructor Description SimpleSequenceSizeReleaseStrategy()
-
Method Summary
Modifier and Type Method Description boolean
canRelease(MessageGroup group)
-
Constructor Details
-
SimpleSequenceSizeReleaseStrategy
public SimpleSequenceSizeReleaseStrategy()
-
-
Method Details
-
canRelease
- Specified by:
canRelease
in interfaceReleaseStrategy
-