org.mule.transport.bpm
Class ProcessMessageDispatcher

java.lang.Object
  extended by org.mule.transport.AbstractConnectable
      extended by org.mule.transport.AbstractMessageDispatcher
          extended by org.mule.transport.bpm.ProcessMessageDispatcher
All Implemented Interfaces:
ExceptionListener, Disposable, Initialisable, Startable, Stoppable, Connectable, MessageDispatcher, MessageDispatching

public class ProcessMessageDispatcher
extends AbstractMessageDispatcher

Initiates or advances a workflow process from an outgoing Mule event.


Field Summary
 
Fields inherited from class org.mule.transport.AbstractConnectable
connected, disposed, endpoint, logger, retryTemplate, started, startOnConnect
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.transport.MessageDispatching
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
 
Constructor Summary
ProcessMessageDispatcher(OutboundEndpoint endpoint)
           
 
Method Summary
 void doDispatch(MuleEvent event)
          Performs an asynchronous action on the BPMS.
 MuleMessage doSend(MuleEvent event)
          Performs a synchronous action on the BPMS.
protected  Object processAction(MuleEvent event)
           
 
Methods inherited from class org.mule.transport.AbstractMessageDispatcher
dispatch, dispose, getEndpoint, getWorkManager, initialise, isTransactionRollback, returnResponse, send
 
Methods inherited from class org.mule.transport.AbstractConnectable
activate, connect, disconnect, disposeAndLogException, doConnect, doDisconnect, doDispose, doInitialise, doStart, doStop, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, handleException, isConnected, isDoThreading, isStarted, passivate, setEndpoint, start, stop, toString, validate, validateConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.transport.MessageDispatcher
activate, getConnector, passivate, validate
 
Methods inherited from interface org.mule.api.transport.Connectable
connect, disconnect, getConnectionDescription, isConnected, validateConnection
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 

Constructor Detail

ProcessMessageDispatcher

public ProcessMessageDispatcher(OutboundEndpoint endpoint)
Method Detail

doSend

public MuleMessage doSend(MuleEvent event)
                   throws Exception
Performs a synchronous action on the BPMS.

Specified by:
doSend in class AbstractMessageDispatcher
Returns:
an object representing the new state of the process
Throws:
Exception

doDispatch

public void doDispatch(MuleEvent event)
                throws Exception
Performs an asynchronous action on the BPMS.

Specified by:
doDispatch in class AbstractMessageDispatcher
Throws:
Exception

processAction

protected Object processAction(MuleEvent event)
                        throws Exception
Throws:
Exception


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.