How to build RestFul webservices using Apache Camel and SpringBoot ?

What are Restful services? (from Wikipedia)

  • Representational state transfer (REST) is a software architectural style that was created to guide the design and development of the architecture for WWW the World Wide Web.

Workshop

  • Build Java DSL style rest service to get Weather details

pom.xml

RestDsl.java

RestJavaDsl.java

WeatherDataProvider.java

CamelConfiguration.java

CamelApplication.java

application.yml

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store