Hi,

I want to download a json file from a rest endpoint. But somehow I'm not
getting it how to write the source.
For the beginning it is enough if the json is written into a file. So I
tried the following:

from("rest:get:http://my-homepage.com:8080/somepage/";).to("file:data/outbox");

but all I get is an exception

Exception in thread "main" java.lang.IllegalStateException: Cannot find
RestConsumerFactory in Registry or as a Component to use

What is wrong?
Someone know?



--
View this message in context: 
http://camel.465427.n5.nabble.com/download-from-rest-endpoint-tp5764051.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to