org.mule.transport.stdio
Class StdioMessageDispatcher
java.lang.Object
org.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageDispatcher
org.mule.transport.stdio.StdioMessageDispatcher
- All Implemented Interfaces:
- ExceptionListener, Disposable, Initialisable, Startable, Stoppable, Connectable, MessageDispatcher, MessageDispatching
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.
Methods inherited from class org.mule.transport.AbstractConnectable |
activate, connect, disconnect, disposeAndLogException, doInitialise, doStart, doStop, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, handleException, isConnected, isDoThreading, isStarted, passivate, setEndpoint, start, stop, toString, validate, validateConnection |
Methods inherited from interface org.mule.api.lifecycle.Startable |
start |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
stop |
StdioMessageDispatcher
public StdioMessageDispatcher(OutboundEndpoint endpoint)
doDispatch
protected void doDispatch(MuleEvent event)
throws Exception
- Specified by:
doDispatch
in class AbstractMessageDispatcher
- Throws:
Exception
doSend
protected MuleMessage doSend(MuleEvent event)
throws Exception
- Specified by:
doSend
in class AbstractMessageDispatcher
- Throws:
Exception
doDispose
protected void doDispose()
- Overrides:
doDispose
in class AbstractConnectable
doConnect
protected void doConnect()
throws Exception
- Overrides:
doConnect
in class AbstractConnectable
- Throws:
Exception
doDisconnect
protected void doDisconnect()
throws Exception
- Overrides:
doDisconnect
in class AbstractConnectable
- Throws:
Exception
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.