camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rkmohapatra <rkmohapa...@gmail.com>
Subject Re: Consuming data from external REST service
Date Mon, 27 Feb 2017 12:39:16 GMT
Also, please note that the REST service on an external application is based
on Jersey.

I tried to use this code in RouteBuilder with jetty and cxfrs, but it throws
exception.
from("cxfrs:http://...").process(restProcess).to("file:d:\\output\\testrest.out");
from("jetty:http://...").process(restProcess).to("file:d:\\output\\testrest.out");

Failed to resolve endpoint. No component found with schema cxfrs/jetty

The following code throws exception as well.
from("http://...").process(restProcess).to("file:d:\\output\\testrest.out");

SEVERE: Servlet.service() for servlet [...] in context with path
[/apache-camel-poc] threw exception [Servlet execution threw an exception]
with root cause
java.lang.ClassNotFoundException:
org.apache.commons.httpclient.HttpConnectionManager

I am running this on Tomcat 8.x.

Thanks,
Rajesh



--
View this message in context: http://camel.465427.n5.nabble.com/Consuming-data-from-external-REST-service-tp5794514p5794515.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message