org.mule.transport.bpm
Class ProcessMessageDispatcher
java.lang.Object
org.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageDispatcher
org.mule.transport.bpm.ProcessMessageDispatcher
- All Implemented Interfaces:
- ExceptionListener, Disposable, Connectable, MessageDispatcher, MessageDispatching
public class ProcessMessageDispatcher
- extends AbstractMessageDispatcher
Initiates or advances a workflow process from an outgoing Mule event.
Methods inherited from class org.mule.transport.AbstractConnectable |
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate |
ProcessMessageDispatcher
public ProcessMessageDispatcher(OutboundEndpoint endpoint)
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
doConnect
protected void doConnect()
throws Exception
- Specified by:
doConnect
in class AbstractConnectable
- Throws:
Exception
doDisconnect
protected void doDisconnect()
throws Exception
- Specified by:
doDisconnect
in class AbstractConnectable
- Throws:
Exception
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractConnectable
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.