public abstract class AbstractReceiverResourceWorker extends AbstractReceiverWorker
getNextMessage(Object)
where the receiver can read the next message from the underlying
transport.Modifier and Type | Field and Description |
---|---|
protected Object |
resource |
endpoint, messages, out, receiver
Constructor and Description |
---|
AbstractReceiverResourceWorker(Object resource,
AbstractMessageReceiver receiver) |
AbstractReceiverResourceWorker(Object resource,
AbstractMessageReceiver receiver,
OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
doRun() |
protected abstract Object |
getNextMessage(Object resource)
The method used to read the next message from the underlying transport.
|
protected boolean |
hasMoreMessages(Object message) |
bindTransaction, handleEventResults, handleResults, postProcessMessage, preProcessMessage, preRouteMuleMessage, processMessages, release, run
protected Object resource
public AbstractReceiverResourceWorker(Object resource, AbstractMessageReceiver receiver)
public AbstractReceiverResourceWorker(Object resource, AbstractMessageReceiver receiver, OutputStream out)
public void doRun()
doRun
in class AbstractReceiverWorker
protected boolean hasMoreMessages(Object message)
protected abstract Object getNextMessage(Object resource) throws Exception
resource
- the resource to read from, this may be a socket, a directory or some higher level
representation.Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.