org.springframework.integration.store
Interface MessageGroup
- All Known Implementing Classes:
- SimpleMessageGroup
public interface MessageGroup
add
boolean add(Message<?> message)
- Add a message to the internal list. This is needed to avoid hitting the
underlying store or copying the internal list. Use with care.
getUnmarked
java.util.Collection<Message<?>> getUnmarked()
- Returns:
- internal message list, modification is allowed, but not
recommended
getMarked
java.util.Collection<Message<?>> getMarked()
- Returns:
- internal message list, modification is allowed, but not
recommended
getCorrelationKey
java.lang.Object getCorrelationKey()
- Returns:
- the correlation key that links these messages together according
to a particular CorrelationStrategy
isComplete
boolean isComplete()
getSequenceSize
int getSequenceSize()
size
int size()
mark
void mark()
getOne
Message<?> getOne()
getTimestamp
long getTimestamp()