org.mule.providers.bpm
Class ProcessMessageReceiver

java.lang.Object
  extended by org.mule.providers.AbstractMessageReceiver
      extended by org.mule.providers.bpm.ProcessMessageReceiver
All Implemented Interfaces:
Disposable, Lifecycle, Startable, Stoppable, UMOConnectable, UMOMessageReceiver

public class ProcessMessageReceiver
extends AbstractMessageReceiver

Generates an incoming Mule event from an executing workflow process.


Field Summary
 
Fields inherited from class org.mule.providers.AbstractMessageReceiver
component, connected, connecting, connectionStrategy, disposing, endpoint, logger, receiverKey, stopped
 
Constructor Summary
ProcessMessageReceiver(UMOConnector connector, UMOComponent component, UMOEndpoint endpoint)
           
 
Method Summary
protected  void doConnect()
           
protected  void doDisconnect()
           
protected  void doDispose()
           
protected  void doStart()
           
protected  void doStop()
           
 void generateAsynchronousEvent(String endpoint, Object payload, Map messageProperties)
           
protected  UMOMessage generateEvent(String endpoint, Object payload, Map messageProperties, boolean synchronous)
           
 UMOMessage generateSynchronousEvent(String endpoint, Object payload, Map messageProperties)
           
 
Methods inherited from class org.mule.providers.AbstractMessageReceiver
applyResponseTransformer, connect, disconnect, dispose, getComponent, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, getEndpointURI, getListener, getReceiverKey, getWorkManager, handleException, handleUnacceptedFilter, isConnected, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setComponent, setConnector, setEndpoint, setExceptionDetails, setListener, setReceiverKey, setWorkManager, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessMessageReceiver

public ProcessMessageReceiver(UMOConnector connector,
                              UMOComponent component,
                              UMOEndpoint endpoint)
                       throws InitialisationException
Throws:
InitialisationException
Method Detail

generateSynchronousEvent

public UMOMessage generateSynchronousEvent(String endpoint,
                                           Object payload,
                                           Map messageProperties)
                                    throws UMOException
Throws:
UMOException

generateAsynchronousEvent

public void generateAsynchronousEvent(String endpoint,
                                      Object payload,
                                      Map messageProperties)
                               throws UMOException
Throws:
UMOException

generateEvent

protected UMOMessage generateEvent(String endpoint,
                                   Object payload,
                                   Map messageProperties,
                                   boolean synchronous)
                            throws UMOException
Throws:
UMOException

doConnect

protected void doConnect()
                  throws Exception
Specified by:
doConnect in class AbstractMessageReceiver
Throws:
Exception

doDisconnect

protected void doDisconnect()
                     throws Exception
Specified by:
doDisconnect in class AbstractMessageReceiver
Throws:
Exception

doStart

protected void doStart()
                throws UMOException
Specified by:
doStart in class AbstractMessageReceiver
Throws:
UMOException

doStop

protected void doStop()
               throws UMOException
Specified by:
doStop in class AbstractMessageReceiver
Throws:
UMOException

doDispose

protected void doDispose()
Specified by:
doDispose in class AbstractMessageReceiver


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