|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageGroup
A group of messages that are correlated with each other and should be processed in the same context.
The message group allows implementations to be mutable, but this behavior is optional. Implementations should take care to document their thread safety and mutability.
Method Summary | |
---|---|
boolean |
canAdd(Message<?> message)
Query if the message can be added. |
void |
complete()
|
java.lang.Object |
getGroupId()
|
long |
getLastModified()
|
int |
getLastReleasedMessageSequenceNumber()
Returns the sequenceNumber of the last released message. |
java.util.Collection<Message<?>> |
getMessages()
Returns all available Messages from the group at the time of invocation |
Message<?> |
getOne()
|
int |
getSequenceSize()
|
long |
getTimestamp()
|
boolean |
isComplete()
|
int |
size()
|
Method Detail |
---|
boolean canAdd(Message<?> message)
java.util.Collection<Message<?>> getMessages()
java.lang.Object getGroupId()
int getLastReleasedMessageSequenceNumber()
boolean isComplete()
void complete()
int getSequenceSize()
int size()
Message<?> getOne()
long getTimestamp()
long getLastModified()
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |