It will go on forever. You connect, send a "GET" and it streams data to you.
There are no headers sent. On Wed, Aug 27, 2014 at 11:22 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > How much data are we talking about, as you can get the data and then > use the splitter. > > On Wed, Aug 27, 2014 at 5:12 PM, Mark Webb <elihusma...@gmail.com> wrote: > > I would like to pull data from a webserver has an unknown length. I send > > the server a GET command and it sends data continuously, each record on a > > separate line. I would like each record in a separate Camel exchange. > Not > > sure if this is allowed in the HTTP spec, but the server does this. > > > > Is there a way to handle this using a Camel endpoint? This could be done > > using a custom Netty handler, but I'd rather use and existing component. > > > > Thank you, > > Mark > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/ >