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 MessageCorrelationResult s 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 null
List<MessageCorrelationResult> correlateMessages(CommandContext commandContext, String messageName, CorrelationSet correlationSet)
List
of MessageCorrelationResult
s that matches them.
Return any empty List
if no message could not be correlated.commandContext
- messageName
- correlationSet
- any of its members may be null
Copyright © 2018. All rights reserved.