[ https://issues.apache.org/jira/browse/CAMEL-6047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581555#comment-13581555 ]
Claus Ibsen commented on CAMEL-6047: ------------------------------------ Applied the patch to trunk. > Validator component - Add option to validate against message header instead > of body > ----------------------------------------------------------------------------------- > > Key: CAMEL-6047 > URL: https://issues.apache.org/jira/browse/CAMEL-6047 > Project: Camel > Issue Type: New Feature > Components: camel-core > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.11.0 > > Attachments: validation.patch > > > This component > http://camel.apache.org/validation.html > Will validate the message body by default. > It would be nice if you can refer to a message header to validate instead. > {code} > .to("validator:myschema.xsd?headerName=myData") > {code} > For example a new option named {{headerName}} to refer to a header. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira