You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by jainmcs03 <to...@gmail.com> on 2015/08/07 08:59:14 UTC
REST service Camel Avro component
Hi
I successfully tested REST service using spring XML, below my config. But
the requirement is to enable AVRO schema validation in JSON format. Pls
share me your guidelines.
<restConfiguration component="servlet" bindingMode="json"
contextPath="canonicalclientrest/rest" port="8080">
<dataFormatProperty key="prettyPrint" value="true"/>
</restConfiguration>
<rest path="/memberid" consumes="application/json"
produces="application/json">
<description>User rest service</description>
<get uri="/{member_id}" outType="com.camel.rest.MemberRequest">
<description>Find CanonicalClient by memberid</description>
<to
uri="bean:canonicalClientService?method=creditbureaucheck(${header.member_id})"/>
</get>
Best regards,
Jayendran
--
View this message in context: http://camel.465427.n5.nabble.com/REST-service-Camel-Avro-component-tp5770398.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: REST service Camel Avro component
Posted by jainmcs03 <to...@gmail.com>.
Hi
How do I validate incoming JSON data inside a REST service using AVRO?. IS
this feature available in camel-avro component?
Best regards
Jayendran
--
View this message in context: http://camel.465427.n5.nabble.com/REST-service-Camel-Avro-component-tp5770398p5770594.html
Sent from the Camel - Users mailing list archive at Nabble.com.