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

Adds file and url support to stream endpoint. Allows a text file to be polled for continual updates.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0-M1
    • camel-stream
    • None
    • All

    • Patch Available

    Description

      The camel-stream component is documented to support file and url parameters, but the code in the StreamEnpoint.java file didn't allow these properties to be set. This patch also adds the feature of keeping a text file open and reading lines from it as they are written by other processes or applications.

      Attachments

        1. camel-stream-fix-multithread-patch.zip
          2 kB
          Stephen Joyner
        2. StreamConsumer_multThread.txt
          2 kB
          Stephen Joyner
        3. StreamEndpoint_patch.txt
          1 kB
          Stephen Joyner

        Activity

          People

            davsclaus Claus Ibsen
            sjoyner Stephen Joyner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: