public abstract class AbstractMessageDispatcher extends AbstractConnectable implements MessageDispatcher
connected, connecting, connectionStrategy, connector, disposed, endpoint, loggerPHASE_NAMERECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY| Constructor and Description |
|---|
AbstractMessageDispatcher(OutboundEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(MuleEvent event)
Dispatches an event from the endpoint to the external system
|
protected abstract void |
doDispatch(MuleEvent event) |
protected abstract MuleMessage |
doSend(MuleEvent event) |
protected boolean |
isTransactionRollback()
Checks to see if the current transaction has been rolled back
|
MuleMessage |
send(MuleEvent event)
Sends an event from the endpoint to the external system
|
protected boolean |
useRemoteSync(MuleEvent event)
RemoteSync causes the message dispatch to wait for a response to an event on a
response channel after it sends the event.
|
activate, connect, disconnect, dispose, disposeAndLogException, doConnect, doDisconnect, doDispose, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivate, getConnector, passivate, validatedisposeconnect, disconnect, getConnectionDescription, isConnectedpublic AbstractMessageDispatcher(OutboundEndpoint endpoint)
public final void dispatch(MuleEvent event) throws DispatchException
MessageDispatchingdispatch in interface MessageDispatchingevent - The event to dispatchDispatchException - if the event fails to be dispatchedpublic final MuleMessage send(MuleEvent event) throws DispatchException
MessageDispatchingsend in interface MessageDispatchingevent - The event to sendDispatchException - if the event fails to be dispatchedprotected boolean useRemoteSync(MuleEvent event)
event - the current eventprotected boolean isTransactionRollback()
protected abstract MuleMessage doSend(MuleEvent event) throws Exception
ExceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.