can not locate rest api

2018-05-28 Thread Ranabroto Ghosh
Hi I am using springboot with Camel, my routes are getting started correctly but ca not trigger rest apis as i ca not locate them. *pom.xml * http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://ma

Re: can not locate rest api

2018-05-28 Thread Ranabroto Ghosh
My rest route if requires http://camel.apache.org/schema/spring";> On 28 May 2018 at 12:43, Ranabroto Ghosh wrote: > Hi I am using springboot with Camel, my routes are getting started > correctly but ca not trigger rest apis as i ca not locate them. > > *pom.xml * > > http://maven.apache

BindingException: Cannot bind to json as message body is not json compatible.

2018-05-28 Thread Steve Hiller
Hi All, I am in the process of converting from the Spring XML style Camel configuration to using the Java DSL style, as this seems to be the preferred approach when using Spring Boot. I am trying to create a simple REST POST using org.apache.camel.builder.RouteBuilder but I keep getting the fol

Re: BindingException: Cannot bind to json as message body is not json compatible.

2018-05-28 Thread Steve Hiller
Never-mind folks, some judicious debugging through the camel code revealed that I did not have the required jar for unmarshalling the JSON. Adding compile group: 'org.apache.camel', name: 'camel-jackson', version: '2.21.1' to my gradle fixed the issue. On Monday, May 28, 2018 6:42 PM, Steve Hi