Modify servicemix-file to read files by request -----------------------------------------------
Key: SM-1046 URL: https://issues.apache.org/activemq/browse/SM-1046 Project: ServiceMix Issue Type: New Feature Components: servicemix-file Reporter: Andrew Romanenco Right now servicemix-sftp can be used using two use cases: 1. As poller - periodic check of target dir, with creating InOnly messages 2. As sender - InOnly messages are saved to files I need next use case: servicemix-sftp should use InOut exchange flow In message will contain full path of file to read Out message will contain file content. In message should be in format: <request> <file>file:///somefile</file> <rename>newname</rename> </request> when this event is in process, component will read file identified by URI and will pack it with some marshal if tag <raname> present, then its value will be used as file name for marshal this new feature will allow file copy based on event -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.