I made it working by referencing apache/camel-spring-boot-examples
|
|
|
| | |
|
|
|
| |
apache/camel-spring-boot-examples
Apache Camel Spring Boot Examples. Contribute to
apache/camel-spring-boot-examples development by creating an ac...
|
|
|
.
Thank you,
On Tuesday, October 20, 2020, 05:21:57 PM EDT, Site Register
<[email protected]> wrote:
Hi Camel Users,
Is camel-servlet-starter discontinued? The latest version I can find from maven
repository is 3.0.0-RC3.
I tried to use camel-rest component by using camel-servlet-starter 3.5.0.
However, I got below error from the browser when I tried to call the service
using "http://localhost:8080/hello".
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as
a fallback.
Below is my simple route.
public void configure() throws Exception {
restConfiguration().host("localhost:8080");
from("rest:get:hello").transform().constant("Hello World");
}
Very appreciated if somebody can point me to the right direction.
Thank you