java-tutorials/spring-boot-camel
Dhawal Kapil b6ae9ec3b4 Story/bael 14304 (#7311)
* BAEL-15951 Moved vavr, JHipster to default profiles

* BAEL-14304 Include the SpringContextIntegrationTest in the default build

- Added SpringContextTest.java in all the modules where SpringContextIntegrationTest already exists

* BAEL-14304 Changes in pmd rule and pom.xml to run UnitTest and SpringContextTest additionally in default profiles

* BAEL-14304 Minor changes
2019-07-20 14:33:56 +03:00
..
src Story/bael 14304 (#7311) 2019-07-20 14:33:56 +03:00
README.md
pom.xml BAEL-9567 Align module names, folder names and artifact id 2018-11-30 22:16:08 +05:30

README.md

Example for the Article on Camel API with SpringBoot

to start up, run: mvn spring-boot:run

them, do a POST http request to: http://localhost:8080/camel/api/bean

with the HEADER: Content-Type: application/json,

and a BODY Payload like {"id": 1,"name": "World"}

and we will get a return code of 201 and the response: Hello, World - if the transform() method from Application class is uncommented and the process() method is commented

or return code of 201 and the response: {"id": 10,"name": "Hello, World"} - if the transform() method from Application class is commented and the process() method is uncommented

Relevant articles: