camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <tantea...@hotmail.com>
Subject trying to use Rest with restlet component still getting "Cannot find RestConsumerFactory in Registry"
Date Wed, 28 Oct 2015 17:31:39 GMT
I am trying to get a simple rest service to work:


restConfiguration().component("restlet");
from(rest:get:hello).process(answer)

I added 

<dependency>
	<groupId>org.apache.camel</groupId>
	<artifactId>camel-restlet</artifactId>
	<version>2.16.0</version>
</dependency>"

to my pom. But i still get
"java.lang.IllegalStateException: Cannot find RestConsumerFactory in
Registry or as a Component to use"

So what could possibly went wrong here?





--
View this message in context: http://camel.465427.n5.nabble.com/trying-to-use-Rest-with-restlet-component-still-getting-Cannot-find-RestConsumerFactory-in-Registry-tp5773162.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message