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.

Reply via email to