As a work-around, you might create a class that invokes a HTTPClient or other URL-friendly utility.
Invoke that logic in your route to retrieve data and then process it. On Fri, Sep 23, 2016 at 3:08 AM, jpeschke <[email protected]> wrote: > Hi, > You cannot use the Servlet component to connect to a third party servlet on > your server context. > The "servlet:" endpoint is only to offer a servlet interface to your camel > routes. See documentation at http://camel.apache.org/servlet.html: > > > > You can consume only from endpoints generated by the Servlet component. > > Therefore, it should be used only as input into your Camel routes. To > > issue HTTP requests against other HTTP endpoints, use the HTTP Component > > So the HTTP-Component (http://camel.apache.org/http.html) or the > Jetty-Component (http://camel.apache.org/jetty.html) should do the trick. > > Best regards, > Joerg > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Need-input-on-accessing-http-servlet-tp5787954p5787964.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
