org.mule.transport.stdio

Class StdioMessageDispatcher

  • java.lang.Object
    • org.mule.transport.AbstractTransportMessageHandler
      • org.mule.transport.AbstractMessageDispatcher
        • org.mule.transport.stdio.StdioMessageDispatcher
  • All Implemented Interfaces:
    org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Lifecycle, org.mule.api.lifecycle.LifecycleStateEnabled, org.mule.api.lifecycle.Startable, org.mule.api.lifecycle.Stoppable, org.mule.api.processor.MessageProcessor, org.mule.api.transport.Connectable, org.mule.api.transport.MessageDispatcher


    public class StdioMessageDispatcherextends org.mule.transport.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.
    • Field Summary

      • Fields inherited from class org.mule.transport.AbstractMessageDispatcher

        defaultOutboundTransformers, defaultResponseTransformers
      • Fields inherited from class org.mule.transport.AbstractTransportMessageHandler

        connected, defaultMessageInfoMapping, endpoint, lifecycleManager, logger, muleMessageFactory, retryTemplate
      • Fields inherited from interface org.mule.api.transport.MessageDispatcher

        RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
      • Fields inherited from interface org.mule.api.lifecycle.Initialisable

        PHASE_NAME
      • Fields inherited from interface org.mule.api.lifecycle.Startable

        PHASE_NAME
      • Fields inherited from interface org.mule.api.lifecycle.Stoppable

        PHASE_NAME
      • Fields inherited from interface org.mule.api.lifecycle.Disposable

        PHASE_NAME
    • Constructor Summary

      Constructors 
      Constructor and Description
      StdioMessageDispatcher(org.mule.api.endpoint.OutboundEndpoint endpoint) 
    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      protected voiddoConnect() 
      protected voiddoDisconnect() 
      protected voiddoDispatch(org.mule.api.MuleEvent event) 
      protected voiddoDispose() 
      protected org.mule.api.MuleMessagedoSend(org.mule.api.MuleEvent event) 
      • Methods inherited from class org.mule.transport.AbstractMessageDispatcher

        applyOutboundTransformers, applyResponseTransformers, createLifecycleManager, doSendNonBlocking, getDispatcherName, getEndpoint, getWorkManager, isSupportsNonBlocking, process, returnResponse, returnResponse
      • Methods inherited from class org.mule.transport.AbstractTransportMessageHandler

        activate, connect, connectHandler, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doInitialise, doStart, doStartHandler, doStop, getConnectEventId, getConnectionDescription, getConnector, getLifecycleState, initialise, initializeMessageFactory, initializeRetryPolicy, isConnected, isDoThreading, isStarted, isStarting, isStopped, isStopping, passivate, setEndpoint, start, stop, toString, validate, validateConnection
      • Methods inherited from interface org.mule.api.transport.MessageDispatcher

        activate, createMuleMessage, createMuleMessage, getConnector, passivate, validate
      • Methods inherited from interface org.mule.api.transport.Connectable

        connect, disconnect, getConnectionDescription, isConnected, validateConnection
      • Methods inherited from interface org.mule.api.lifecycle.Initialisable

        initialise
      • Methods inherited from interface org.mule.api.lifecycle.Startable

        start
      • Methods inherited from interface org.mule.api.lifecycle.Stoppable

        stop
      • Methods inherited from interface org.mule.api.lifecycle.Disposable

        dispose
      • Methods inherited from interface org.mule.api.lifecycle.LifecycleStateEnabled

        getLifecycleState
    • Constructor Detail

      • StdioMessageDispatcher

        public StdioMessageDispatcher(org.mule.api.endpoint.OutboundEndpoint endpoint)
    • Method Detail

      • doDispatch

        protected void doDispatch(org.mule.api.MuleEvent event)                   throws Exception
        Specified by:
        doDispatch in class org.mule.transport.AbstractMessageDispatcher
        Throws:
        Exception
      • doSend

        protected org.mule.api.MuleMessage doSend(org.mule.api.MuleEvent event)                                   throws Exception
        Specified by:
        doSend in class org.mule.transport.AbstractMessageDispatcher
        Throws:
        Exception
      • doDispose

        protected void doDispose()
        Overrides:
        doDispose in class org.mule.transport.AbstractTransportMessageHandler
      • doConnect

        protected void doConnect()                  throws Exception
        Overrides:
        doConnect in class org.mule.transport.AbstractTransportMessageHandler
        Throws:
        Exception
      • doDisconnect

        protected void doDisconnect()                     throws Exception
        Overrides:
        doDisconnect in class org.mule.transport.AbstractTransportMessageHandler
        Throws:
        Exception

Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14