camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: [SOLVED]Re: Camel-Stream URI error
Date Wed, 25 Apr 2012 05:14:16 GMT
On Tue, Apr 24, 2012 at 1:05 PM, Gnanaguru S
<gnanaguru.sattanathan@wipro.com> wrote:
>
> Hi Claus,
>
> I am getting empty files when routing from stream endpoint.
>

What do you mean by empty files? Do you get an empty message?


> I want to read each new line and update to other file.
>
> My route:
>
> Please share your view.
>
> <camelContext xmlns="http://camel.apache.org/schema/spring">
>    <route>
>      <from
> uri="stream:in:file?fileName=//input//test.txt&amp;scanStream=true&amp;scanStreamDelay=1000"/>
>      <to uri="file://output"/>
> <to uri="log:SUCCESS"/>
>    </route>
>  </camelContext>
>
> Regards
> Guru
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Stream-URI-error-tp5661443p5661666.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message