public interface CorrelationHandler
| Modifier and Type | Method and Description |
|---|---|
MessageCorrelationResult |
correlateMessage(CommandContext commandContext,
String messageName,
CorrelationSet correlationSet)
Correlate the given message and return the
MessageCorrelationResult that matches it. |
List<MessageCorrelationResult> |
correlateMessages(CommandContext commandContext,
String messageName,
CorrelationSet correlationSet)
Correlate all given messages and return a
List of MessageCorrelationResults that matches them. |
MessageCorrelationResult correlateMessage(CommandContext commandContext, String messageName, CorrelationSet correlationSet)
MessageCorrelationResult that matches it.
Return null if the message could not be correlated.commandContext - messageName - correlationSet - any of its members may be nullList<MessageCorrelationResult> correlateMessages(CommandContext commandContext, String messageName, CorrelationSet correlationSet)
List of MessageCorrelationResults that matches them.
Return any empty List if no message could not be correlated.commandContext - messageName - correlationSet - any of its members may be nullCopyright © 2018. All rights reserved.