Add get/setTempFileName methods to DefaultFileMarshaler and use in File/Ftp 
Sender Endpoints (also deprecate FTP Sender uploadPrefix/Suffix properties)
-------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: SM-1780
                 URL: https://issues.apache.org/activemq/browse/SM-1780
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-utils
    Affects Versions: 3.3
            Reporter: Ron Gavlin


The Ftp Sender Endpoint currently has properties uploadPrefix and uploadSuffix 
to allow someone to create a file with a specific "temp" prefix/suffix and then 
rename the file when it is finished being written. This would also be useful in 
the File Sender Endpoint to support scenarios where an ftp client is attempting 
to access a file sender directory and knows to avoid reading files with certain 
"temp" prefixes.

Since the DefaultFileMarshaler is used by both endpoints, I suggest that 
get/setTempFileName methods be added to the DefaultFileMarshaler and the 
endpoints updated to leverage these methods. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to