xflow.test
Class ProcAgent

java.lang.Object
  extended byxflow.test.ProcAgent
All Implemented Interfaces:
InboxMessageListener

public class ProcAgent
extends java.lang.Object
implements InboxMessageListener


Constructor Summary
ProcAgent(java.lang.String wfName, java.lang.String pname)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void onMessage(WorkItem witem)
          This is a callback invoked by the XFlow system when a work item arrives in the inbox for this workflow process.
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcAgent

public ProcAgent(java.lang.String wfName,
                 java.lang.String pname)
Method Detail

onMessage

public void onMessage(WorkItem witem)
Description copied from interface: InboxMessageListener
This is a callback invoked by the XFlow system when a work item arrives in the inbox for this workflow process.

Specified by:
onMessage in interface InboxMessageListener
Parameters:
witem - the work item

start

public void start()
           throws XflowException
Throws:
XflowException

main

public static void main(java.lang.String[] args)
                 throws XflowException,
                        javax.jms.JMSException
Throws:
XflowException
javax.jms.JMSException