public class DefaultCorrelationHandler extends Object implements CorrelationHandler
Constructor and Description |
---|
DefaultCorrelationHandler() |
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. |
protected MessageCorrelationResult |
tryCorrelateMessageToExecution(CommandContext commandContext,
String messageName,
CorrelationSet correlationSet) |
protected MessageCorrelationResult |
tryCorrelateMessageToProcessDefinition(CommandContext commandContext,
String messageName,
CorrelationSet correlationSet) |
public MessageCorrelationResult correlateMessage(CommandContext commandContext, String messageName, CorrelationSet correlationSet)
CorrelationHandler
MessageCorrelationResult
that matches it.
Return null if the message could not be correlated.correlateMessage
in interface CorrelationHandler
correlationSet
- any of its members may be null
protected MessageCorrelationResult tryCorrelateMessageToExecution(CommandContext commandContext, String messageName, CorrelationSet correlationSet)
protected MessageCorrelationResult tryCorrelateMessageToProcessDefinition(CommandContext commandContext, String messageName, CorrelationSet correlationSet)
Copyright © 2015. All rights reserved.