public class SimpleSequenceSizeReleaseStrategy extends Object implements ReleaseStrategy
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.Constructor and Description |
---|
SimpleSequenceSizeReleaseStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRelease(MessageGroup group) |
public boolean canRelease(MessageGroup group)
canRelease
in interface ReleaseStrategy