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, logger
PHASE_NAME
RECEIVE_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, useRemoteSync
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activate, getConnector, passivate, validate
dispose
connect, disconnect, getConnectionDescription, isConnected
public StdioMessageDispatcher(OutboundEndpoint endpoint)
protected void doDispatch(MuleEvent event) throws Exception
doDispatch
in class AbstractMessageDispatcher
Exception
protected MuleMessage doSend(MuleEvent event) throws Exception
doSend
in class AbstractMessageDispatcher
Exception
protected void doDispose()
doDispose
in class AbstractConnectable
protected void doConnect() throws Exception
doConnect
in class AbstractConnectable
Exception
protected void doDisconnect() throws Exception
doDisconnect
in class AbstractConnectable
Exception
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.