public class StdioMessageReceiver extends AbstractPollingMessageReceiver
StdioMessageReceiver is a listener for events from Mule components
which then simply passes the events on to the target components.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BUFFER_SIZE |
DEFAULT_POLL_FREQUENCY, DEFAULT_POLL_TIMEUNIT, DEFAULT_STARTUP_DELAY, schedulesconnected, connecting, connectionStrategy, disposing, endpoint, logger, receiverKey, responseEndpoint, service, stoppedPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
StdioMessageReceiver(Connector connector,
Service service,
InboundEndpoint endpoint,
long checkFrequency) |
| Modifier and Type | Method and Description |
|---|---|
void |
doConnect() |
void |
doDisconnect() |
protected void |
doDispose() |
int |
getBufferSize() |
InputStream |
getInputStream() |
void |
poll() |
void |
setBufferSize(int bufferSize) |
void |
setInputStream(InputStream inputStream) |
createWork, doStart, doStop, getFrequency, getTimeUnit, schedule, setFrequency, setTimeUnit, unscheduleconnect, disconnect, dispose, doInitialise, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, getEndpointURI, getListener, getReceiverKey, getService, getWorkManager, handleException, handleUnacceptedFilter, initialise, isConnected, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setConnector, setEndpoint, setExceptionDetails, setListener, setReceiverKey, setService, setWorkManager, start, stop, toStringpublic static final int DEFAULT_BUFFER_SIZE
public StdioMessageReceiver(Connector connector, Service service, InboundEndpoint endpoint, long checkFrequency) throws CreateException
CreateExceptionprotected void doDispose()
doDispose in class AbstractMessageReceiverpublic void doConnect()
throws Exception
doConnect in class AbstractMessageReceiverExceptionpublic void doDisconnect()
throws Exception
doDisconnect in class AbstractMessageReceiverExceptionpublic void poll()
poll in class AbstractPollingMessageReceiverpublic InputStream getInputStream()
public void setInputStream(InputStream inputStream)
public int getBufferSize()
public void setBufferSize(int bufferSize)
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.