org.camunda.bpm.engine.impl.runtime
Class DefaultCorrelationHandler

java.lang.Object
  extended by org.camunda.bpm.engine.impl.runtime.DefaultCorrelationHandler
All Implemented Interfaces:
CorrelationHandler

public class DefaultCorrelationHandler
extends Object
implements CorrelationHandler

Author:
Thorben Lindhauer, Daniel Meyer

Constructor Summary
DefaultCorrelationHandler()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCorrelationHandler

public DefaultCorrelationHandler()
Method Detail

correlateMessage

public MessageCorrelationResult correlateMessage(CommandContext commandContext,
                                                 String messageName,
                                                 CorrelationSet correlationSet)
Description copied from interface: CorrelationHandler
Correlate the given message and return the MessageCorrelationResult that matches it. Return null if the message could not be correlated.

Specified by:
correlateMessage in interface CorrelationHandler
correlationSet - any of its members may be null
Returns:

tryCorrelateMessageToExecution

protected MessageCorrelationResult tryCorrelateMessageToExecution(CommandContext commandContext,
                                                                  String messageName,
                                                                  CorrelationSet correlationSet)

tryCorrelateMessageToProcessDefinition

protected MessageCorrelationResult tryCorrelateMessageToProcessDefinition(CommandContext commandContext,
                                                                          String messageName,
                                                                          CorrelationSet correlationSet)


Copyright © 2014 camunda services GmbH. All Rights Reserved.