org.mule.api.transport
Interface MessageDispatching
public interface MessageDispatching
Define generic methods for dispatching events.
The exact behaviour of the action is defined by the implementing class.
- See Also:
OutboundEndpoint
,
MessageDispatcher
RECEIVE_WAIT_INDEFINITELY
static final long RECEIVE_WAIT_INDEFINITELY
- See Also:
- Constant Field Values
RECEIVE_NO_WAIT
static final long RECEIVE_NO_WAIT
- See Also:
- Constant Field Values
dispatch
void dispatch(MuleEvent event)
throws DispatchException
- Dispatches an event from the endpoint to the external system
- Parameters:
event
- The event to dispatch
- Throws:
DispatchException
- if the event fails to be dispatched
send
MuleMessage send(MuleEvent event)
throws DispatchException
- 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 MuleEvent
- Throws:
DispatchException
- if the event fails to be dispatched
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.