|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageRequester
org.mule.transport.file.FileMessageRequester
public class FileMessageRequester
FileMessageDispatcher is used to read/write files to the filesystem
| Field Summary |
|---|
| Fields inherited from class org.mule.transport.AbstractConnectable |
|---|
connected, connecting, connectionStrategy, disposed, endpoint, logger, workManager |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.transport.MessageRequesting |
|---|
REQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELY |
| Constructor Summary | |
|---|---|
FileMessageRequester(org.mule.api.endpoint.ImmutableEndpoint endpoint)
|
|
| Method Summary | |
|---|---|
protected void |
doConnect()
|
protected void |
doDisconnect()
|
protected void |
doDispose()
|
protected org.mule.api.MuleMessage |
doRequest(long timeout)
Will attempt to do a receive from a directory, if the endpointUri resolves to a file name the file will be returned, otherwise the first file in the directory according to the filename filter configured on the connector. |
Object |
getDelegateSession()
There is no associated session for a file connector |
| Methods inherited from class org.mule.transport.AbstractMessageRequester |
|---|
request |
| Methods inherited from class org.mule.transport.AbstractConnectable |
|---|
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mule.api.transport.MessageRequester |
|---|
activate, getConnector, passivate, validate |
| Methods inherited from interface org.mule.api.lifecycle.Disposable |
|---|
dispose |
| Methods inherited from interface org.mule.api.transport.Connectable |
|---|
connect, disconnect, getConnectionDescription, isConnected |
| Constructor Detail |
|---|
public FileMessageRequester(org.mule.api.endpoint.ImmutableEndpoint endpoint)
| Method Detail |
|---|
public Object getDelegateSession()
throws org.mule.api.MuleException
org.mule.api.MuleException
protected org.mule.api.MuleMessage doRequest(long timeout)
throws Exception
doRequest in class org.mule.transport.AbstractMessageRequestertimeout - this is ignored when doing a receive on this dispatcher
Exceptionprotected void doDispose()
doDispose in class org.mule.transport.AbstractConnectable
protected void doConnect()
throws Exception
doConnect in class org.mule.transport.AbstractConnectableException
protected void doDisconnect()
throws Exception
doDisconnect in class org.mule.transport.AbstractConnectableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||