forked from smparekh/camel-example-servlet-rest-tomcat
-
Notifications
You must be signed in to change notification settings - Fork 0
bahadurbaniya/camel-example-servlet-rest-tomcat
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Camel Servlet REST and Apache Tomcat example ======================================= This example shows how to use Servlet REST to define REST endpoints in Camel routes using the Rest DSL This example is implemented in the Java DSLs. For Java DSL the routes are defined in Java code, in the org.apache.camel.example.rest.RestRouteBuilder class. You will need to package this example first: mvn package To run the example deploy it in Apache Tomcat by copying the .war to the deploy folder of Apache Tomcat. And then hit this url from a web browser which has further instructions http://localhost:8080/providerservice Included in this example is an api browser using Swagger. You can see the API from this url: http://localhost:8080/providerservice/index.html You can also try the example from Maven using mvn jetty:run ... and use the following url http://localhost:8080/ If you hit any problems please let me know! ---------------------------------------
About
Modified Camel Example from apache/camel/examples/camel-example-servlet-rest-tomcat
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 68.8%
- HTML 31.2%