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, 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, connecting, connectionStrategy, disposed, endpoint, logger
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.transport.MessageDispatching
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
 
Constructor Summary
ProcessMessageDispatcher(OutboundEndpoint endpoint)
           
 
Method Summary
protected  void doConnect()
           
protected  void doDisconnect()
           
 void doDispatch(MuleEvent event)
          Performs an asynchronous action on the BPMS.
protected  void doDispose()
           
 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, isTransactionRollback, send, useRemoteSync
 
Methods inherited from class org.mule.transport.AbstractConnectable
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate
 
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.lifecycle.Disposable
dispose
 
Methods inherited from interface org.mule.api.transport.Connectable
connect, disconnect, getConnectionDescription, isConnected
 

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

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.