public boolean canAdd(org.springframework.messaging.Message<?> message)
This method determines whether messages have been added to this group that
supersede the given message based on its sequence id. This can be helpful to
avoid ending up with sequences larger than their required sequence size or
sequences that are missing certain sequence numbers.