[ 
https://issues.apache.org/activemq/browse/CAMEL-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen Joyner updated CAMEL-1237:
----------------------------------

    Attachment: StreamConsumer_multThread.txt

The StreamConsumer.java needs to be spin off it's own thread when started if 
the scan file feature is used, because it will block the main thread from 
processing additional routes.

> Adds file and url support to stream endpoint. Allows a text file to be polled 
> for continual updates.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1237
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1237
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-stream
>         Environment: All
>            Reporter: Stephen Joyner
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: StreamConsumer_multThread.txt, StreamEndpoint_patch.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to