Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-56

Modify servicemix-file to read files by request

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2013.02
    • servicemix-file
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            romanenco Andrew Romanenco
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified