Jing ComponentThe Jing component uses the Jing Library Note that the MSV component can also support RelaxNG XML syntax. URI formatrng:someLocalOrRemoteResource rnc:someLocalOrRemoteResource Where rng means use the RelaxNG XML Syntax
ExampleThe following example <camelContext xmlns="http://activemq.apache.org/camel/schema/spring"> <route> <from uri="direct:start"/> <try> <to uri="rnc:org/apache/camel/component/validator/jing/schema.rnc"/> <to uri="mock:valid"/> <catch> <exception>org.apache.camel.ValidationException</exception> <to uri="mock:invalid"/> </catch> </try> </route> </camelContext> See Also |