[
https://issues.apache.org/jira/browse/CAMEL-6047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-6047:
-------------------------------
Fix Version/s: (was: Future)
2.11.0
Assignee: Claus Ibsen
Laurynas, thanks for the patch.
Good idea about the new option names to keep it similar to the body.
> 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