public class DefaultInboundEndpoint extends AbstractEndpoint implements InboundEndpoint
loggerINITIAL_STATE_STARTED, INITIAL_STATE_STOPPEDREQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELY| Constructor and Description |
|---|
DefaultInboundEndpoint(Connector connector,
EndpointURI endpointUri,
List transformers,
List responseTransformers,
String name,
Map properties,
TransactionConfig transactionConfig,
Filter filter,
boolean deleteUnacceptedMessage,
EndpointSecurityFilter securityFilter,
boolean synchronous,
boolean remoteSync,
int remoteSyncTimeout,
String initialState,
String endpointEncoding,
MuleContext muleContext,
ConnectionStrategy connectionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
MuleMessage |
request(long timeout)
Make a specific request to the underlying transport
|
equal, equals, getConnectionStrategy, getConnector, getEncoding, getEndpointURI, getFilter, getInitialState, getMuleContext, getName, getProperties, getProperty, getProtocol, getRemoteSyncTimeout, getResponseTransformers, getSecurityFilter, getTransactionConfig, getTransformers, hashCode, isDeleteUnacceptedMessages, isReadOnly, isRemoteSync, isSynchronous, toString, updateTransformerEndpointsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetConnectionStrategy, getConnector, getEncoding, getEndpointURI, getFilter, getInitialState, getMuleContext, getName, getProperties, getProperty, getProtocol, getRemoteSyncTimeout, getResponseTransformers, getSecurityFilter, getTransactionConfig, getTransformers, isDeleteUnacceptedMessages, isReadOnly, isRemoteSync, isSynchronouspublic DefaultInboundEndpoint(Connector connector, EndpointURI endpointUri, List transformers, List responseTransformers, String name, Map properties, TransactionConfig transactionConfig, Filter filter, boolean deleteUnacceptedMessage, EndpointSecurityFilter securityFilter, boolean synchronous, boolean remoteSync, int remoteSyncTimeout, String initialState, String endpointEncoding, MuleContext muleContext, ConnectionStrategy connectionStrategy)
public MuleMessage request(long timeout) throws Exception
MessageRequestingrequest in interface MessageRequestingtimeout - 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 causes an exceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.