public abstract class AbstractMessageRequester extends AbstractConnectable implements MessageRequester
connected, connecting, connectionStrategy, connector, disposed, endpoint, logger
PHASE_NAME
REQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELY
Constructor and Description |
---|
AbstractMessageRequester(InboundEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected abstract MuleMessage |
doRequest(long timeout)
Make a specific request to the underlying transport
|
MuleMessage |
request(long timeout)
Make a specific request to the underlying transport
|
activate, connect, disconnect, dispose, disposeAndLogException, doConnect, doDisconnect, doDispose, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activate, getConnector, passivate, validate
dispose
connect, disconnect, getConnectionDescription, isConnected
public AbstractMessageRequester(InboundEndpoint endpoint)
public final MuleMessage request(long timeout) throws Exception
request
in interface MessageRequesting
timeout
- the maximum time the operation should block before returning.
The call should return immediately if there is data available. If
no data becomes available before the timeout elapses, null will be
returnedException
- if the call to the underlying protocol causes an exceptionprotected abstract MuleMessage doRequest(long timeout) throws Exception
timeout
- the maximum time the operation should block before returning.
The call should return immediately if there is data available. If
no data becomes available before the timeout elapses, null will be
returnedException
- if the call to the underlying protocal cuases an exceptionCopyright © 2003–2013 MuleSource, Inc.. All rights reserved.