public class DefaultInboundEndpoint extends AbstractEndpoint implements InboundEndpoint
logger
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED
REQUEST_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, updateTransformerEndpoints
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConnectionStrategy, getConnector, getEncoding, getEndpointURI, getFilter, getInitialState, getMuleContext, getName, getProperties, getProperty, getProtocol, getRemoteSyncTimeout, getResponseTransformers, getSecurityFilter, getTransactionConfig, getTransformers, isDeleteUnacceptedMessages, isReadOnly, isRemoteSync, isSynchronous
public 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
MessageRequesting
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 protocal causes an exceptionCopyright © 2003–2013 MuleSource, Inc.. All rights reserved.