org.mule.umo.provider
Interface UMOMessageDispatcher
- All Superinterfaces:
- Disposable
- All Known Implementing Classes:
- AbstractMessageDispatcher
- public interface UMOMessageDispatcher
- extends Disposable
- Author:
- Ross Mason
//TODO document
RECEIVE_WAIT_INDEFINITELY
public static final long RECEIVE_WAIT_INDEFINITELY
- See Also:
- Constant Field Values
RECEIVE_NO_WAIT
public static final long RECEIVE_NO_WAIT
- See Also:
- Constant Field Values
dispatch
public void dispatch(UMOEvent event)
throws java.lang.Exception
- Dispatches an event from the endpoint to the external system
- Parameters:
event
- The event to dispatch
- Throws:
java.lang.Exception
- if the event fails to be dispatched
send
public UMOMessage send(UMOEvent event)
throws java.lang.Exception
- Sends an event from the endpoint to the external system
- Parameters:
event
- The event to send
- Returns:
- event the response form the external system wrapped in a UMOEvent
- Throws:
java.lang.Exception
- if the event fails to be dispatched
receive
public UMOMessage receive(UMOEndpointURI endpointUri,
long timeout)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDelegateSession
public java.lang.Object getDelegateSession()
throws UMOException
- Throws:
UMOException
getConnector
public UMOConnector getConnector()
isDisposed
public boolean isDisposed()
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.