Author: buildbot Date: Thu Dec 18 10:18:40 2014 New Revision: 933211 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/book-component-appendix.html websites/production/camel/content/book-in-one-page.html websites/production/camel/content/cache/main.pageCache websites/production/camel/content/jing.html Modified: websites/production/camel/content/book-component-appendix.html ============================================================================== --- websites/production/camel/content/book-component-appendix.html (original) +++ websites/production/camel/content/book-component-appendix.html Thu Dec 18 10:18:40 2014 @@ -1415,11 +1415,11 @@ template.send("direct:alias-verify& </div> </div> <p>The <strong>cxf:</strong> component provides integration with <a shape="rect" href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1418811456897 {padding: 0px;} -div.rbtoc1418811456897 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1418811456897 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1418897848783 {padding: 0px;} +div.rbtoc1418897848783 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1418897848783 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1418811456897"> +/*]]>*/</style></p><div class="toc-macro rbtoc1418897848783"> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF Component</a> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI format</a></li><li><a shape="rect" href="#CXF-Options">Options</a> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-Thedescriptionsofthedataformats">The descriptions of the dataformats</a> @@ -6452,54 +6452,19 @@ from("jetty://http://localhost:{{po ]]></script> </div></div><p>The camel-jetty component also provides for direct configuration of the Jetty MBeanContainer. Jetty creates MBean names dynamically. If you are running another instance of Jetty outside of the Camel context and sharing the same MBeanServer between the instances, you can provide both instances with a reference to the same MBeanContainer in order to avoid name collisions when registering Jetty MBeans.</p><p></p><h3 id="BookComponentAppendix-SeeAlso.30">See Also</h3> <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul class="alternate"><li><a shape="rect" href="http.html">HTTP</a></li></ul> -<h2 id="BookComponentAppendix-JingComponent">Jing Component</h2> - -<p>The Jing component uses the <a shape="rect" class="external-link" href="http://www.thaiopensource.com/relaxng/jing.html" rel="nofollow">Jing Library</a> to perform XML validation of the message body using either</p> - -<ul><li><a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a></li><li><a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a></li></ul> - - -<p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p> -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -<dependency> +<h2 id="BookComponentAppendix-JingComponent">Jing Component</h2><p>The Jing component uses the <a shape="rect" class="external-link" href="http://www.thaiopensource.com/relaxng/jing.html" rel="nofollow">Jing Library</a> to perform XML validation of the message body using either</p><ul><li><a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a></li><li><a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a></li></ul><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jing</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> ]]></script> -</div></div> - -<p>Note that the <a shape="rect" href="msv.html">MSV</a> component can also support RelaxNG XML syntax.</p> - -<h3 id="BookComponentAppendix-URIformat.34">URI format</h3> - -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -rng:someLocalOrRemoteResource +</div></div><p>Note that the <a shape="rect" href="msv.html">MSV</a> component can also support RelaxNG XML syntax.</p><h3 id="BookComponentAppendix-URIformat.34">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[rng:someLocalOrRemoteResource rnc:someLocalOrRemoteResource ]]></script> -</div></div> - -<p>Where <strong>rng</strong> means use the <a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a> whereas <strong>rnc</strong> means use <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a>. The following examples show possible URI values</p> - -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Example</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rng:foo/bar.rng</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> References the XML file <strong>foo/bar.rng</strong> on the classpath </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rnc:</p> -<a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td><td colspan="1" rowspan="1" class="confluenceTd"><p> References the RelaxNG Compact Syntax file from the URL, </p> -<a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td></tr></tbody></table></div> - - -<p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p> - -<h3 id="BookComponentAppendix-Options.27">Options</h3> -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>useDom</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Specifies whether DOMSource/DOMResult or SaxSource/SaxResult should be used by the validator. </p></td></tr></tbody></table></div> - - -<h3 id="BookComponentAppendix-Example.3">Example</h3> - -<p>The following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml">example</a> shows how to configure a route from the endpoint <strong>direct:start</strong> which then goes to one of two endpoints, either <strong>mock:valid</strong> or <strong>mock:invalid</strong> based on whether or not the XML matches the given <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a> schema (which is supplied on the classpath).</p> - -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +</div></div><p>Where <strong>rng</strong> means use the <a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a> whereas <strong>rnc</strong> means use <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a>. The following examples show possible URI values</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Example</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rng:foo/bar.rng</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>References the XML file <strong>foo/bar.rng</strong> on the classpath</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rnc:</p><a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td><td co lspan="1" rowspan="1" class="confluenceTd"><p>References the RelaxNG Compact Syntax file from the URL,</p><a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td></tr></tbody></table></div><p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p><h3 id="BookComponentAppendix-Options.27">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>compactSyntax</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Whether to validate using RelaxNG compact syntax or not.</p></td></tr></tbody></table> </div><h3 id="BookComponentAppendix-Example.3">Example</h3><p>The following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml">example</a> shows how to configure a route from the endpoint <strong>direct:start</strong> which then goes to one of two endpoints, either <strong>mock:valid</strong> or <strong>mock:invalid</strong> based on whether or not the XML matches the given <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a> schema (which is supplied on the classpath).</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> @@ -6519,9 +6484,7 @@ rnc:someLocalOrRemoteResource </route> </camelContext> ]]></script> -</div></div> - -<h3 id="BookComponentAppendix-SeeAlso.31">See Also</h3> +</div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.31">See Also</h3> <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul> <h2 id="BookComponentAppendix-JMSComponent">JMS Component</h2> <div class="aui-message hint shadowed information-macro"> <p class="title">Using ActiveMQ</p> Modified: websites/production/camel/content/book-in-one-page.html ============================================================================== --- websites/production/camel/content/book-in-one-page.html (original) +++ websites/production/camel/content/book-in-one-page.html Thu Dec 18 10:18:40 2014 @@ -4126,11 +4126,11 @@ While not actual tutorials you might fin </div> </div> <h2 id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the reader through the stages of creating a project which uses Camel to facilitate the routing of messages from a JMS queue to a <a shape="rect" class="external-link" href="http://www.springramework.org" rel="nofollow">Spring</a> service. The route works in a synchronous fashion returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1418811464886 {padding: 0px;} -div.rbtoc1418811464886 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1418811464886 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1418897856650 {padding: 0px;} +div.rbtoc1418897856650 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1418897856650 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1418811464886"> +/*]]>*/</style></p><div class="toc-macro rbtoc1418897856650"> <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-JmsRemoting-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Preface">Preface</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Distribution">Distribution</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-About">About</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-CreatetheCamelProject">Create the Camel Project</a> <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-JmsRemoting-UpdatethePOMwithDependencies">Update the POM with Dependencies</a></li></ul> </li><li><a shape="rect" href="#Tutorial-JmsRemoting-WritingtheServer">Writing the Server</a> @@ -6316,11 +6316,11 @@ So we completed the last piece in the pi <style type="text/css">/*<![CDATA[*/ -div.rbtoc1418811465496 {padding: 0px;} -div.rbtoc1418811465496 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1418811465496 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1418897856947 {padding: 0px;} +div.rbtoc1418897856947 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1418897856947 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style><div class="toc-macro rbtoc1418811465496"> +/*]]>*/</style><div class="toc-macro rbtoc1418897856947"> <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 1.4 with Apache Camel</a> <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-Distribution">Distribution</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-Introduction">Introduction</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-SettinguptheprojecttorunAxis">Setting up the project to run Axis</a> <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-Maven2">Maven 2</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-wsdl">wsdl</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-ConfiguringAxis">Configuring Axis</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-RunningtheExample">Running the Example</a></li></ul> @@ -19229,11 +19229,11 @@ template.send("direct:alias-verify& </div> </div> <p>The <strong>cxf:</strong> component provides integration with <a shape="rect" href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1418811471661 {padding: 0px;} -div.rbtoc1418811471661 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1418811471661 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1418897862527 {padding: 0px;} +div.rbtoc1418897862527 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1418897862527 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1418811471661"> +/*]]>*/</style></p><div class="toc-macro rbtoc1418897862527"> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF Component</a> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI format</a></li><li><a shape="rect" href="#CXF-Options">Options</a> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-Thedescriptionsofthedataformats">The descriptions of the dataformats</a> @@ -24266,54 +24266,19 @@ from("jetty://http://localhost:{{po ]]></script> </div></div><p>The camel-jetty component also provides for direct configuration of the Jetty MBeanContainer. Jetty creates MBean names dynamically. If you are running another instance of Jetty outside of the Camel context and sharing the same MBeanServer between the instances, you can provide both instances with a reference to the same MBeanContainer in order to avoid name collisions when registering Jetty MBeans.</p><p></p><h3 id="BookInOnePage-SeeAlso.50">See Also</h3> <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul class="alternate"><li><a shape="rect" href="http.html">HTTP</a></li></ul> -<h2 id="BookInOnePage-JingComponent">Jing Component</h2> - -<p>The Jing component uses the <a shape="rect" class="external-link" href="http://www.thaiopensource.com/relaxng/jing.html" rel="nofollow">Jing Library</a> to perform XML validation of the message body using either</p> - -<ul><li><a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a></li><li><a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a></li></ul> - - -<p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p> -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -<dependency> +<h2 id="BookInOnePage-JingComponent">Jing Component</h2><p>The Jing component uses the <a shape="rect" class="external-link" href="http://www.thaiopensource.com/relaxng/jing.html" rel="nofollow">Jing Library</a> to perform XML validation of the message body using either</p><ul><li><a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a></li><li><a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a></li></ul><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jing</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> ]]></script> -</div></div> - -<p>Note that the <a shape="rect" href="msv.html">MSV</a> component can also support RelaxNG XML syntax.</p> - -<h3 id="BookInOnePage-URIformat.35">URI format</h3> - -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -rng:someLocalOrRemoteResource +</div></div><p>Note that the <a shape="rect" href="msv.html">MSV</a> component can also support RelaxNG XML syntax.</p><h3 id="BookInOnePage-URIformat.35">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[rng:someLocalOrRemoteResource rnc:someLocalOrRemoteResource ]]></script> -</div></div> - -<p>Where <strong>rng</strong> means use the <a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a> whereas <strong>rnc</strong> means use <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a>. The following examples show possible URI values</p> - -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Example</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rng:foo/bar.rng</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> References the XML file <strong>foo/bar.rng</strong> on the classpath </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rnc:</p> -<a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td><td colspan="1" rowspan="1" class="confluenceTd"><p> References the RelaxNG Compact Syntax file from the URL, </p> -<a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td></tr></tbody></table></div> - - -<p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p> - -<h3 id="BookInOnePage-Options.48">Options</h3> -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>useDom</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Specifies whether DOMSource/DOMResult or SaxSource/SaxResult should be used by the validator. </p></td></tr></tbody></table></div> - - -<h3 id="BookInOnePage-Example.22">Example</h3> - -<p>The following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml">example</a> shows how to configure a route from the endpoint <strong>direct:start</strong> which then goes to one of two endpoints, either <strong>mock:valid</strong> or <strong>mock:invalid</strong> based on whether or not the XML matches the given <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a> schema (which is supplied on the classpath).</p> - -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +</div></div><p>Where <strong>rng</strong> means use the <a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a> whereas <strong>rnc</strong> means use <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a>. The following examples show possible URI values</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Example</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rng:foo/bar.rng</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>References the XML file <strong>foo/bar.rng</strong> on the classpath</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rnc:</p><a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td><td co lspan="1" rowspan="1" class="confluenceTd"><p>References the RelaxNG Compact Syntax file from the URL,</p><a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td></tr></tbody></table></div><p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p><h3 id="BookInOnePage-Options.48">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>compactSyntax</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Whether to validate using RelaxNG compact syntax or not.</p></td></tr></tbody></table></div><h 3 id="BookInOnePage-Example.22">Example</h3><p>The following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml">example</a> shows how to configure a route from the endpoint <strong>direct:start</strong> which then goes to one of two endpoints, either <strong>mock:valid</strong> or <strong>mock:invalid</strong> based on whether or not the XML matches the given <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a> schema (which is supplied on the classpath).</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> @@ -24333,9 +24298,7 @@ rnc:someLocalOrRemoteResource </route> </camelContext> ]]></script> -</div></div> - -<h3 id="BookInOnePage-SeeAlso.51">See Also</h3> +</div></div><p></p><h3 id="BookInOnePage-SeeAlso.51">See Also</h3> <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul> <h2 id="BookInOnePage-JMSComponent">JMS Component</h2> <div class="aui-message hint shadowed information-macro"> <p class="title">Using ActiveMQ</p> Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/jing.html ============================================================================== --- websites/production/camel/content/jing.html (original) +++ websites/production/camel/content/jing.html Thu Dec 18 10:18:40 2014 @@ -86,54 +86,19 @@ <tbody> <tr> <td valign="top" width="100%"> -<div class="wiki-content maincontent"><h2 id="Jing-JingComponent">Jing Component</h2> - -<p>The Jing component uses the <a shape="rect" class="external-link" href="http://www.thaiopensource.com/relaxng/jing.html" rel="nofollow">Jing Library</a> to perform XML validation of the message body using either</p> - -<ul><li><a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a></li><li><a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a></li></ul> - - -<p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p> -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -<dependency> +<div class="wiki-content maincontent"><h2 id="Jing-JingComponent">Jing Component</h2><p>The Jing component uses the <a shape="rect" class="external-link" href="http://www.thaiopensource.com/relaxng/jing.html" rel="nofollow">Jing Library</a> to perform XML validation of the message body using either</p><ul><li><a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a></li><li><a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a></li></ul><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jing</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> ]]></script> -</div></div> - -<p>Note that the <a shape="rect" href="msv.html">MSV</a> component can also support RelaxNG XML syntax.</p> - -<h3 id="Jing-URIformat">URI format</h3> - -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -rng:someLocalOrRemoteResource +</div></div><p>Note that the <a shape="rect" href="msv.html">MSV</a> component can also support RelaxNG XML syntax.</p><h3 id="Jing-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[rng:someLocalOrRemoteResource rnc:someLocalOrRemoteResource ]]></script> -</div></div> - -<p>Where <strong>rng</strong> means use the <a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a> whereas <strong>rnc</strong> means use <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a>. The following examples show possible URI values</p> - -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Example</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rng:foo/bar.rng</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> References the XML file <strong>foo/bar.rng</strong> on the classpath </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rnc:</p> -<a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td><td colspan="1" rowspan="1" class="confluenceTd"><p> References the RelaxNG Compact Syntax file from the URL, </p> -<a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td></tr></tbody></table></div> - - -<p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p> - -<h3 id="Jing-Options">Options</h3> -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>useDom</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Specifies whether DOMSource/DOMResult or SaxSource/SaxResult should be used by the validator. </p></td></tr></tbody></table></div> - - -<h3 id="Jing-Example">Example</h3> - -<p>The following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml">example</a> shows how to configure a route from the endpoint <strong>direct:start</strong> which then goes to one of two endpoints, either <strong>mock:valid</strong> or <strong>mock:invalid</strong> based on whether or not the XML matches the given <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a> schema (which is supplied on the classpath).</p> - -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +</div></div><p>Where <strong>rng</strong> means use the <a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG XML Syntax</a> whereas <strong>rnc</strong> means use <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a>. The following examples show possible URI values</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Example</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rng:foo/bar.rng</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>References the XML file <strong>foo/bar.rng</strong> on the classpath</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>rnc:</p><a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td><td co lspan="1" rowspan="1" class="confluenceTd"><p>References the RelaxNG Compact Syntax file from the URL,</p><a shape="rect" class="external-link" href="http://foo.com/bar.rnc" rel="nofollow">http://foo.com/bar.rnc</a></td></tr></tbody></table></div><p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p><h3 id="Jing-Options">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>compactSyntax</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Whether to validate using RelaxNG compact syntax or not.</p></td></tr></tbody></table></div><h3 id="Jing-E xample">Example</h3><p>The following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-jing/src/test/resources/org/apache/camel/component/validator/jing/rnc-context.xml">example</a> shows how to configure a route from the endpoint <strong>direct:start</strong> which then goes to one of two endpoints, either <strong>mock:valid</strong> or <strong>mock:invalid</strong> based on whether or not the XML matches the given <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a> schema (which is supplied on the classpath).</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> @@ -153,9 +118,7 @@ rnc:someLocalOrRemoteResource </route> </camelContext> ]]></script> -</div></div> - -<h3 id="Jing-SeeAlso">See Also</h3> +</div></div><p></p><h3 id="Jing-SeeAlso">See Also</h3> <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul></div> </td> <td valign="top">