---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
There's no way to get the last modified time from a file but if your polling frequency is not very high maybe you can use #[function:datestamp] and append that to the output file as an approximation. Here [1] you can find an example about how to use that function.
[1] http://www.mulesoft.org/documentation/display/MULE3USER/File+Transport+Reference
HTH, Pablo.
I think if you change message adapter on the file connector to FileMessageAdapter (or whatever the actual name is now), and get a java.io.File object instead of a bye array, then lastModified value can be retrieved.
HTH,
Andrew
It doesn't seem to be your case but if you use a working directory then you will be getting a wrong last modified date since that File object will represent the file moved to the working directory instead of the original file.
Thanks
That's configuring a service override to use the
org.mule.transport.file.FileMuleMessageFactory. And make sure that
streaming=false on the endpoint.
-dirk