org.apache.servicemix.osworkflow
Class OSWorkflow

java.lang.Object
  extended by org.apache.servicemix.osworkflow.OSWorkflow
All Implemented Interfaces:
java.lang.Runnable

public class OSWorkflow
extends java.lang.Object
implements java.lang.Runnable


Field Summary
static java.lang.String KEY_ASYNC_PROCESSING
           
static java.lang.String KEY_CALLER
           
static java.lang.String KEY_ENDPOINT
           
static java.lang.String KEY_EXCHANGE
           
static java.lang.String KEY_IN_MESSAGE
           
 
Constructor Summary
OSWorkflow(OSWorkflowEndpoint ep, java.lang.String workflowName, int action, java.util.Map map, java.lang.String caller, javax.jbi.messaging.MessageExchange exchange)
          creates and initializes a new workflow object
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_EXCHANGE

public static final java.lang.String KEY_EXCHANGE
See Also:
Constant Field Values

KEY_IN_MESSAGE

public static final java.lang.String KEY_IN_MESSAGE
See Also:
Constant Field Values

KEY_ENDPOINT

public static final java.lang.String KEY_ENDPOINT
See Also:
Constant Field Values

KEY_CALLER

public static final java.lang.String KEY_CALLER
See Also:
Constant Field Values

KEY_ASYNC_PROCESSING

public static final java.lang.String KEY_ASYNC_PROCESSING
See Also:
Constant Field Values
Constructor Detail

OSWorkflow

public OSWorkflow(OSWorkflowEndpoint ep,
                  java.lang.String workflowName,
                  int action,
                  java.util.Map map,
                  java.lang.String caller,
                  javax.jbi.messaging.MessageExchange exchange)
creates and initializes a new workflow object

Parameters:
ep - the endpoint reference
workflowName - the unique workflow name as defined in workflows.xml
action - the initial action
map - the value map
caller - the caller
exchange - the received message exchange
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2005-2012 FuseSource. All Rights Reserved.