camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: Reading a HTML document from an URL
Date Fri, 19 Oct 2007 16:13:02 GMT
I think the problem is that by default, if you use
  from("http://...")
the component creates a web server and listens for request.
Or does it make a difference between a remote host and a local host ?
even, you may want to GET an html page from a local host.

On 10/19/07, James Strachan <james.strachan@gmail.com> wrote:
> On 18/10/2007, bgoetzmann <bgoetzmann@sophia.symag.com> wrote:
> >
> > Hi,
> >
> > This is a simple question: I thought that read a HTML/XML document from an
> > URL could be do in that way:
> >
> > from("http://www.odelia-technologies.com/").to...
> >
> > but it doesn't work!
> >
> > How can one do this?
> >
> > Thank you.
>
> Would
>
> from("http://www.odelia-technologies.com/index.html").to...
>
> help?
>
> We currently don't do a spider like
>
>   wget -r http://www.odelia-technologies.com/
>
> would; so you'd have to HTTP GET the exact URL you need for the HTML page.
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source SOA
> http://open.iona.com
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Mime
View raw message