Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
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