public class ExceptionReturnTcpMessageReceiver extends TcpMessageReceiver
TcpMessageReceiver providing managing of protocol error conditions.
TcpMessageReceiver.TcpWorker.getNextMessage(Object) is extended so, in case
of an protocol error it will try to send the exception back to the client instead
of ignoring it. If an exception is thrown managing the error it will ignored.| Modifier and Type | Class and Description |
|---|---|
protected class |
ExceptionReturnTcpMessageReceiver.TcpWorker |
disposingdefaultInboundTransformers, defaultResponseTransformers, flowConstruct, listener, receiverKey, replyToHandler| Constructor and Description |
|---|
ExceptionReturnTcpMessageReceiver(org.mule.api.transport.Connector connector,
org.mule.api.construct.FlowConstruct flowConstruct,
org.mule.api.endpoint.InboundEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.resource.spi.work.Work |
createWork(Socket socket) |
doConnect, doDisconnect, doDispose, doStart, doStop, getServerSocket, release, runapplyInboundTransformers, applyResponseTransformers, connectHandler, createExecutionTemplate, createLifecycleManager, createMuleEvent, doStartHandler, getConnectEventId, getConnectionDescription, getEndpoint, getEndpointURI, getFlowConstruct, getReceiverKey, getReplyToHandler, getWorkManager, handleUnacceptedFilter, initialise, processMessage, propagateRootMessageIdProperty, routeEvent, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setEndpoint, setListener, setReceiverKey, shouldConsumeInEveryNode, toString, warnIfMuleClientSendUsedactivate, connect, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doInitialise, getConnectEventId, getConnector, getLifecycleState, initializeMessageFactory, initializeRetryPolicy, isConnected, isDoThreading, isStarted, isStarting, isStopped, isStopping, passivate, setEndpoint, start, stop, validate, validateConnectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateMuleMessage, createMuleMessagepublic ExceptionReturnTcpMessageReceiver(org.mule.api.transport.Connector connector,
org.mule.api.construct.FlowConstruct flowConstruct,
org.mule.api.endpoint.InboundEndpoint endpoint)
throws org.mule.api.lifecycle.CreateException
org.mule.api.lifecycle.CreateExceptionprotected javax.resource.spi.work.Work createWork(Socket socket) throws IOException
createWork in class TcpMessageReceiverIOExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.