org.apache.servicemix.osworkflow
Class OSWorkflow

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

public class OSWorkflow
extends Object
implements Runnable

Author:
lhe

Field Summary
static String KEY_ASYNC_PROCESSING
           
static String KEY_CALLER
           
static String KEY_ENDPOINT
           
static String KEY_EXCHANGE
           
static String KEY_IN_MESSAGE
           
 
Constructor Summary
OSWorkflow(OSWorkflowEndpoint ep, String workflowName, int action, Map map, 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 String KEY_EXCHANGE
See Also:
Constant Field Values

KEY_IN_MESSAGE

public static final String KEY_IN_MESSAGE
See Also:
Constant Field Values

KEY_ENDPOINT

public static final String KEY_ENDPOINT
See Also:
Constant Field Values

KEY_CALLER

public static final String KEY_CALLER
See Also:
Constant Field Values

KEY_ASYNC_PROCESSING

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

OSWorkflow

public OSWorkflow(OSWorkflowEndpoint ep,
                  String workflowName,
                  int action,
                  Map map,
                  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 Runnable


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.