public class StdioMessageDispatcher extends AbstractMessageDispatcher
StdioMessageDispatcher is a simple stream dispatcher that obtains
a stream from the Stream Connector to write to. This is only really useful for
testing purposes right now when writing to System.in and System.out. However, it
is feasible to set any OutputStream on the Stream connector and have that written
to.connected, connecting, connectionStrategy, disposed, endpoint, loggerPHASE_NAMERECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY| Constructor and Description |
|---|
StdioMessageDispatcher(OutboundEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doConnect() |
protected void |
doDisconnect() |
protected void |
doDispatch(MuleEvent event) |
protected void |
doDispose() |
protected MuleMessage |
doSend(MuleEvent event) |
dispatch, isTransactionRollback, send, useRemoteSyncactivate, connect, disconnect, dispose, disposeAndLogException, 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 StdioMessageDispatcher(OutboundEndpoint endpoint)
protected void doDispatch(MuleEvent event) throws Exception
doDispatch in class AbstractMessageDispatcherExceptionprotected MuleMessage doSend(MuleEvent event) throws Exception
doSend in class AbstractMessageDispatcherExceptionprotected void doDispose()
doDispose in class AbstractConnectableprotected void doConnect()
throws Exception
doConnect in class AbstractConnectableExceptionprotected void doDisconnect()
throws Exception
doDisconnect in class AbstractConnectableExceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.