This is an example that uses the rest-dsl to define a rest services which provides three operations
The example also embeds the swagger ui.
You will need to compile this example first:
To run the example type
The example is built as a WAR which can also be deployed in a WAR container such as Apache Tomcat.
The example has documentation in the home.html page which you can access using the following url
This example implements the rest-dsl in XML in the camel-config.xml file. For an example that is using Java code, see the
To stop the example hit ctrl+c
If you hit an problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html
Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!
The Camel riders!