Mocking rest endpoints for testing new Custom Processor

2016-10-11 Thread idioma
Hi, I am trying to mock rest endpoints in order to test a Custom Processor that validates restpoints against a JSON Schema, but I am totally lost in terms on how to write the Test and prove that my process is doing the job. I have easily had this working: http://camel.apache.org/mock.html (Mocki

Spring XML definitions for custom Processors

2016-10-10 Thread idioma
Hi, I have just created a custom Processor that does some JSON-schema validation on the incoming messages, but I am not sure how I can define your own root element in Spring XML. I have tried to modify the definition of the validate root element, so that I would have something like "customValidate"

Re: Swagger validation with camel-swagger

2016-10-10 Thread idioma
Claus, thank you so much for your reply, it is very much clear now. Have a good day, I. -- View this message in context: http://camel.465427.n5.nabble.com/Swagger-validation-with-camel-swagger-tp5788403p5788559.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Swagger validation with camel-swagger

2016-10-06 Thread idioma
Hi, thanks for your reply. I am not sure what you mean by "the issue has been fixed". Do you mean that the current camel-swagger-java component does not allow swagger validation? Thank you, Ilaria -- View this message in context: http://camel.465427.n5.nabble.com/Swagger-validation-with-came

Swagger validation with camel-swagger

2016-10-05 Thread idioma
Hi, I have been experimenting with: https://github.com/apache/camel/tree/master/examples/camel-example-swagger-xml as I would like to define my rest endpoints with Camel Rest DSL and generate my swagger API doc with camel-swagger-java. As per https://issues.apache.org/jira/browse/CAMEL-10164, I

camel-swagger component

2016-10-04 Thread idioma
Hi, I am investigating the camel-swagger component coming up in version 2.18 and I have perhaps some basic and trivial questions I would like to share with the community. I am trying to understand what are the main differences in terms of features/functionalities between the Scala swagger-camel and