Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19152

camel-azure - Add file client header and flush option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.20.2
    • 3.21.0, 4.0-M3, 4.0.0
    • camel-azure
    • None
    • Unknown

    Description

      a) The datalake component has a createFile operation, which returns a response of type 
      DataLakeFileClient, which represents inherently a specific directory. The issue is that subsequent operations do not make use of that instance, resulting in the fact that the directory seems to be always root. The proposal is

      • to add a new exchange header on createFile, that can be used for further operations
      • if that new exchange header is set for file operations, use the client from the header
        That would allow to seamlessly use createFile, append, ... together while considering directories.
        b) Furthermore, there is an additional flush option on the append operation, which IMHO might make sense to add
         
        I created the pull request https://github.com/apache/camel/pull/9541 for these changes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andreas.klug2@de.bosch.com Andreas Klug
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: