|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.router.AbstractMessageBarrier
org.springframework.integration.router.AggregationBarrier
public class AggregationBarrier
MessageBarrier implementation for message aggregation. Delegates to a
CompletionStrategy to determine when the group of messages is ready
for aggregation.
| Field Summary | |
|---|---|
protected CompletionStrategy |
completionStrategy
|
| Fields inherited from class org.springframework.integration.router.AbstractMessageBarrier |
|---|
messages |
| Constructor Summary | |
|---|---|
AggregationBarrier(CompletionStrategy completionStrategy)
|
|
| Method Summary | |
|---|---|
protected boolean |
hasReceivedAllMessages()
Subclasses will implement this method to indicate if all possible messages that could be received by a given barrier have already been received (e.g. |
protected java.util.List<Message<?>> |
releaseAvailableMessages()
Subclasses will implement this method to return the messages that can be released by this barrier, after the receipt of a given message. |
| Methods inherited from class org.springframework.integration.router.AbstractMessageBarrier |
|---|
addAndRelease, addMessage, getMessages, getTimestamp, isComplete |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final CompletionStrategy completionStrategy
| Constructor Detail |
|---|
public AggregationBarrier(CompletionStrategy completionStrategy)
| Method Detail |
|---|
protected java.util.List<Message<?>> releaseAvailableMessages()
AbstractMessageBarrier
releaseAvailableMessages in class AbstractMessageBarrierprotected boolean hasReceivedAllMessages()
AbstractMessageBarrier
hasReceivedAllMessages in class AbstractMessageBarrier
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||