Gerwin Postma wrote:
> Hello Andrew,
>
> Thanks for the reply. But, being a Microsoft developer, is am a litle
> 'challenged' when it comes to your suggestion. Are you willing to
> help me out a little ?
In your ftp connector declaration, use a service-override to supply the
class name of your custom message receiver subclass
(
http://www.mulesource.org/display/MULE2USER/Configuring+a+Transport#ConfiguringaTransport-serviceoverrides)
Create a subclass of FtpMessageReceiver, copy the current implementation
of the processFile method into it and add the code to retrieve the
timestamp from the FTPFile. (Agreed, this is not ideal but obviously,
the FtpMessageReceiver does not provide an extension point to put
additional message properties into the message that's being created)
HTH,
-dirk
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email