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

Wrap FileInputStream in BufferedInputStream in the Converter classes to ensure loading from file is faster

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0
    • camel-core
    • None
    • Unknown

    Description

      We should check the type converters, when creating a new FileInputStream, that the stream gets wrapped in a BufferedInputStream, to ensure the file is loaded faster, as the buffered stream has an internal buffer.

      See CAMEL-4686

      Attachments

        1. CAMEL-4687.patch
          72 kB
          Babak Vahdat

        Issue Links

          Activity

            People

              bvahdat Babak Vahdat
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: