|
Spring Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageStore
Strategy interface for storing and retrieving messages.
| Method Summary | ||
|---|---|---|
|
addMessage(Message<T> message)
Put the provided Message into the MessageStore. |
|
Message<?> |
getMessage(UUID id)
Return the Message with the given id, or null if no Message with that id exists in the MessageStore. |
|
Message<?> |
removeMessage(UUID id)
Remove the Message with the given id from the MessageStore, if present, and return it. |
|
| Method Detail |
|---|
Message<?> getMessage(UUID id)
<T> Message<T> addMessage(Message<T> message)
getMessage(UUID) and removeMessage(UUID) behave properly. Since messages are immutable, putting
the same message more than once is a no-op.
Message<?> removeMessage(UUID id)
|
Spring Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||