Author: buildbot Date: Mon Jan 19 17:21:12 2015 New Revision: 936800 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/dns.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 Mon Jan 19 17:21:12 2015 @@ -1360,11 +1360,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.rbtoc1421554642413 {padding: 0px;} -div.rbtoc1421554642413 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1421554642413 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1421687904276 {padding: 0px;} +div.rbtoc1421687904276 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1421687904276 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1421554642413"> +/*]]>*/</style></p><div class="toc-macro rbtoc1421687904276"> <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> @@ -2401,104 +2401,43 @@ from("direct:processOrder") ]]></script> </div></div><p>See also samples from the <a shape="rect" href="seda.html">SEDA</a> component, how they can be used together.</p><p></p><h3 id="BookComponentAppendix-SeeAlso.12">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="seda.html">SEDA</a></li><li><a shape="rect" href="vm.html">VM</a></li></ul> -<h2 id="BookComponentAppendix-DNS">DNS</h2> -<p><strong>Available as of Camel 2.7</strong></p> - -<p>This is an additional component for Camel to run DNS queries, using DNSJava. The component is a thin layer on top of <a shape="rect" class="external-link" href="http://www.xbill.org/dnsjava/" rel="nofollow">DNSJava</a>.<br clear="none"> -The component offers the following operations:</p> -<ul class="alternate"><li>ip, to resolve a domain by its ip</li><li>lookup, to lookup information about the domain</li><li>dig, to run DNS queries</li></ul> - - - <div class="aui-message hint shadowed information-macro"> +<h2 id="BookComponentAppendix-DNS">DNS</h2><p><strong>Available as of Camel 2.7</strong></p><p>This is an additional component for Camel to run DNS queries, using DNSJava. The component is a thin layer on top of <a shape="rect" class="external-link" href="http://www.xbill.org/dnsjava/" rel="nofollow">DNSJava</a>.<br clear="none"> The component offers the following operations:</p><ul class="alternate"><li>ip, to resolve a domain by its ip</li><li>lookup, to lookup information about the domain</li><li>dig, to run DNS queries</li></ul> <div class="aui-message hint shadowed information-macro"> <p class="title">Requires SUN JVM</p> <span class="aui-icon icon-hint">Icon</span> <div class="message-content"> - -<p>The DNSJava library requires running on the SUN JVM.<br clear="none"> -If you use Apache ServiceMix or Apache Karaf, you'll need to adjust the <code>etc/jre.properties</code> file, to add <code>sun.net.spi.nameservice</code> to the list of Java platform packages exported. The server will need restarting before this change takes effect.</p> + <p>The DNSJava library requires running on the SUN JVM.<br clear="none"> If you use Apache ServiceMix or Apache Karaf, you'll need to adjust the <code>etc/jre.properties</code> file, to add <code>sun.net.spi.nameservice</code> to the list of Java platform packages exported. The server will need restarting before this change takes effect.</p> </div> </div> - - -<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: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ -<dependency> +<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: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-dns</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> ]]></script> -</div></div> - -<h3 id="BookComponentAppendix-URIformat.16">URI format</h3> - -<p>The URI scheme for a DNS component is as follows</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[ -dns://operation[?options] +</div></div><h3 id="BookComponentAppendix-URIformat.16">URI format</h3><p>The URI scheme for a DNS component is as follows</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[dns://operation[?options] ]]></script> -</div></div> - -<p>This component only supports producers.</p> - -<h3 id="BookComponentAppendix-Options.13">Options</h3> - -<p>None.</p> - -<h3 id="BookComponentAppendix-Headers.1">Headers</h3> - -<div class="confluenceTableSmall"> -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Operations </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.domain </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> ip </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The domain name. Mandatory. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.name </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The name to lookup. Mandatory. </p></td></tr><tr><td colspan="1" rowspa n="1" class="confluenceTd"><p> dns.type </p></td><td colspan="1" rowspan="1" class="confluenceTd"><ul class="alternate"></ul> -</td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup, dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The type of the lookup. Should match the values of <code>org.xbill.dns.Type</code>. Optional. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.class </p></td><td colspan="1" rowspan="1" class="confluenceTd"><ul class="alternate"></ul> -</td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> he DNS class of the lookup. Should match the values of <code>org.xbill.dns.DClass</code>. Optional. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.query </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The query itself. Mandatory. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.server </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The server in particular for the query. If none is given, the default one specified by the OS will be used. Optional. </p></td></tr></tbody></table></div> -</div> - -<h3 id="BookComponentAppendix-Examples.1">Examples</h3> - -<h4 id="BookComponentAppendix-IPlookup">IP lookup</h4> -<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[ - <route id="IPCheck"> +</div></div><p>This component only supports producers.</p><h3 id="BookComponentAppendix-Options.13">Options</h3><p>None.</p><h3 id="BookComponentAppendix-Headers.1">Headers</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Operations</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.domain</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>ip</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The domain name. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.name</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><t d colspan="1" rowspan="1" class="confluenceTd"><p>lookup</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The name to lookup. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.type</p></td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"><p>lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The type of the lookup. Should match the values of <code>org.xbill.dns.Type</code>. Optional.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.class</p></td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"><p>lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The DNS class of the lookup. Should match the values of <code>org.xbill.dns.DClass</code>. Optional.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.query</p></td><td colspan="1" rowspan="1 " class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The query itself. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.server</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The server in particular for the query. If none is given, the default one specified by the OS will be used. Optional.</p></td></tr></tbody></table></div></div><h3 id="BookComponentAppendix-Examples.1">Examples</h3><h4 id="BookComponentAppendix-IPlookup">IP lookup</h4><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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:ip"/> </route> ]]></script> -</div></div> - -<p>This looks up a domain's IP. For example, www.example.com resolves to 192.0.32.10.<br clear="none"> -The IP address to lookup must be provided in the header with key <code>"dns.domain"</code>.</p> - -<h4 id="BookComponentAppendix-DNSlookup">DNS lookup</h4> -<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[ - <route id="IPCheck"> +</div></div><p>This looks up a domain's IP. For example, www.example.com resolves to 192.0.32.10.<br clear="none"> The IP address to lookup must be provided in the header with key <code>"dns.domain"</code>.</p><h4 id="BookComponentAppendix-DNSlookup">DNS lookup</h4><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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:lookup"/> </route> ]]></script> -</div></div> - -<p>This returns a set of DNS records associated with a domain.<br clear="none"> -The name to lookup must be provided in the header with key <code>"dns.name"</code>.</p> - -<h4 id="BookComponentAppendix-DNSDig">DNS Dig</h4> -<p>Dig is a Unix command-line utility to run DNS queries.</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[ - <route id="IPCheck"> +</div></div><p>This returns a set of DNS records associated with a domain.<br clear="none"> The name to lookup must be provided in the header with key <code>"dns.name"</code>.</p><h4 id="BookComponentAppendix-DNSDig">DNS Dig</h4><p>Dig is a Unix command-line utility to run DNS queries.</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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:dig"/> </route> ]]></script> -</div></div> - -<p>The query must be provided in the header with key <code>"dns.query"</code>.</p> - - -<h3 id="BookComponentAppendix-SeeAlso.13">See Also</h3> +</div></div><p>The query must be provided in the header with key <code>"dns.query"</code>.</p><p></p><h3 id="BookComponentAppendix-SeeAlso.13">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-EJBComponent">EJB Component</h2> <p><strong>Available as of Camel 2.4</strong></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 Mon Jan 19 17:21:12 2015 @@ -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.rbtoc1421597855802 {padding: 0px;} -div.rbtoc1421597855802 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1421597855802 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1421687952365 {padding: 0px;} +div.rbtoc1421687952365 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1421687952365 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1421597855802"> +/*]]>*/</style></p><div class="toc-macro rbtoc1421687952365"> <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.rbtoc1421597856227 {padding: 0px;} -div.rbtoc1421597856227 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1421597856227 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1421687954334 {padding: 0px;} +div.rbtoc1421687954334 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1421687954334 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style><div class="toc-macro rbtoc1421597856227"> +/*]]>*/</style><div class="toc-macro rbtoc1421687954334"> <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> @@ -18946,11 +18946,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.rbtoc1421597861004 {padding: 0px;} -div.rbtoc1421597861004 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1421597861004 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1421687970240 {padding: 0px;} +div.rbtoc1421687970240 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1421687970240 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1421597861004"> +/*]]>*/</style></p><div class="toc-macro rbtoc1421687970240"> <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> @@ -19987,104 +19987,43 @@ from("direct:processOrder") ]]></script> </div></div><p>See also samples from the <a shape="rect" href="seda.html">SEDA</a> component, how they can be used together.</p><p></p><h3 id="BookInOnePage-SeeAlso.32">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="seda.html">SEDA</a></li><li><a shape="rect" href="vm.html">VM</a></li></ul> -<h2 id="BookInOnePage-DNS">DNS</h2> -<p><strong>Available as of Camel 2.7</strong></p> - -<p>This is an additional component for Camel to run DNS queries, using DNSJava. The component is a thin layer on top of <a shape="rect" class="external-link" href="http://www.xbill.org/dnsjava/" rel="nofollow">DNSJava</a>.<br clear="none"> -The component offers the following operations:</p> -<ul class="alternate"><li>ip, to resolve a domain by its ip</li><li>lookup, to lookup information about the domain</li><li>dig, to run DNS queries</li></ul> - - - <div class="aui-message hint shadowed information-macro"> +<h2 id="BookInOnePage-DNS">DNS</h2><p><strong>Available as of Camel 2.7</strong></p><p>This is an additional component for Camel to run DNS queries, using DNSJava. The component is a thin layer on top of <a shape="rect" class="external-link" href="http://www.xbill.org/dnsjava/" rel="nofollow">DNSJava</a>.<br clear="none"> The component offers the following operations:</p><ul class="alternate"><li>ip, to resolve a domain by its ip</li><li>lookup, to lookup information about the domain</li><li>dig, to run DNS queries</li></ul> <div class="aui-message hint shadowed information-macro"> <p class="title">Requires SUN JVM</p> <span class="aui-icon icon-hint">Icon</span> <div class="message-content"> - -<p>The DNSJava library requires running on the SUN JVM.<br clear="none"> -If you use Apache ServiceMix or Apache Karaf, you'll need to adjust the <code>etc/jre.properties</code> file, to add <code>sun.net.spi.nameservice</code> to the list of Java platform packages exported. The server will need restarting before this change takes effect.</p> + <p>The DNSJava library requires running on the SUN JVM.<br clear="none"> If you use Apache ServiceMix or Apache Karaf, you'll need to adjust the <code>etc/jre.properties</code> file, to add <code>sun.net.spi.nameservice</code> to the list of Java platform packages exported. The server will need restarting before this change takes effect.</p> </div> </div> - - -<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: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ -<dependency> +<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: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-dns</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> ]]></script> -</div></div> - -<h3 id="BookInOnePage-URIformat.17">URI format</h3> - -<p>The URI scheme for a DNS component is as follows</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[ -dns://operation[?options] +</div></div><h3 id="BookInOnePage-URIformat.17">URI format</h3><p>The URI scheme for a DNS component is as follows</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[dns://operation[?options] ]]></script> -</div></div> - -<p>This component only supports producers.</p> - -<h3 id="BookInOnePage-Options.34">Options</h3> - -<p>None.</p> - -<h3 id="BookInOnePage-Headers.1">Headers</h3> - -<div class="confluenceTableSmall"> -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Operations </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.domain </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> ip </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The domain name. Mandatory. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.name </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The name to lookup. Mandatory. </p></td></tr><tr><td colspan="1" rowspa n="1" class="confluenceTd"><p> dns.type </p></td><td colspan="1" rowspan="1" class="confluenceTd"><ul class="alternate"></ul> -</td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup, dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The type of the lookup. Should match the values of <code>org.xbill.dns.Type</code>. Optional. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.class </p></td><td colspan="1" rowspan="1" class="confluenceTd"><ul class="alternate"></ul> -</td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> he DNS class of the lookup. Should match the values of <code>org.xbill.dns.DClass</code>. Optional. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.query </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The query itself. Mandatory. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.server </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The server in particular for the query. If none is given, the default one specified by the OS will be used. Optional. </p></td></tr></tbody></table></div> -</div> - -<h3 id="BookInOnePage-Examples.12">Examples</h3> - -<h4 id="BookInOnePage-IPlookup">IP lookup</h4> -<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[ - <route id="IPCheck"> +</div></div><p>This component only supports producers.</p><h3 id="BookInOnePage-Options.34">Options</h3><p>None.</p><h3 id="BookInOnePage-Headers.1">Headers</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Operations</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.domain</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>ip</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The domain name. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.name</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" ro wspan="1" class="confluenceTd"><p>lookup</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The name to lookup. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.type</p></td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"><p>lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The type of the lookup. Should match the values of <code>org.xbill.dns.Type</code>. Optional.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.class</p></td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"><p>lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The DNS class of the lookup. Should match the values of <code>org.xbill.dns.DClass</code>. Optional.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.query</p></td><td colspan="1" rowspan="1" class="conflue nceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The query itself. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.server</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The server in particular for the query. If none is given, the default one specified by the OS will be used. Optional.</p></td></tr></tbody></table></div></div><h3 id="BookInOnePage-Examples.12">Examples</h3><h4 id="BookInOnePage-IPlookup">IP lookup</h4><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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:ip"/> </route> ]]></script> -</div></div> - -<p>This looks up a domain's IP. For example, www.example.com resolves to 192.0.32.10.<br clear="none"> -The IP address to lookup must be provided in the header with key <code>"dns.domain"</code>.</p> - -<h4 id="BookInOnePage-DNSlookup">DNS lookup</h4> -<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[ - <route id="IPCheck"> +</div></div><p>This looks up a domain's IP. For example, www.example.com resolves to 192.0.32.10.<br clear="none"> The IP address to lookup must be provided in the header with key <code>"dns.domain"</code>.</p><h4 id="BookInOnePage-DNSlookup">DNS lookup</h4><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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:lookup"/> </route> ]]></script> -</div></div> - -<p>This returns a set of DNS records associated with a domain.<br clear="none"> -The name to lookup must be provided in the header with key <code>"dns.name"</code>.</p> - -<h4 id="BookInOnePage-DNSDig">DNS Dig</h4> -<p>Dig is a Unix command-line utility to run DNS queries.</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[ - <route id="IPCheck"> +</div></div><p>This returns a set of DNS records associated with a domain.<br clear="none"> The name to lookup must be provided in the header with key <code>"dns.name"</code>.</p><h4 id="BookInOnePage-DNSDig">DNS Dig</h4><p>Dig is a Unix command-line utility to run DNS queries.</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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:dig"/> </route> ]]></script> -</div></div> - -<p>The query must be provided in the header with key <code>"dns.query"</code>.</p> - - -<h3 id="BookInOnePage-SeeAlso.33">See Also</h3> +</div></div><p>The query must be provided in the header with key <code>"dns.query"</code>.</p><p></p><h3 id="BookInOnePage-SeeAlso.33">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-EJBComponent">EJB Component</h2> <p><strong>Available as of Camel 2.4</strong></p> Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/dns.html ============================================================================== --- websites/production/camel/content/dns.html (original) +++ websites/production/camel/content/dns.html Mon Jan 19 17:21:12 2015 @@ -85,104 +85,43 @@ <tbody> <tr> <td valign="top" width="100%"> -<div class="wiki-content maincontent"><h2 id="DNS-DNS">DNS</h2> -<p><strong>Available as of Camel 2.7</strong></p> - -<p>This is an additional component for Camel to run DNS queries, using DNSJava. The component is a thin layer on top of <a shape="rect" class="external-link" href="http://www.xbill.org/dnsjava/" rel="nofollow">DNSJava</a>.<br clear="none"> -The component offers the following operations:</p> -<ul class="alternate"><li>ip, to resolve a domain by its ip</li><li>lookup, to lookup information about the domain</li><li>dig, to run DNS queries</li></ul> - - - <div class="aui-message hint shadowed information-macro"> +<div class="wiki-content maincontent"><h2 id="DNS-DNS">DNS</h2><p><strong>Available as of Camel 2.7</strong></p><p>This is an additional component for Camel to run DNS queries, using DNSJava. The component is a thin layer on top of <a shape="rect" class="external-link" href="http://www.xbill.org/dnsjava/" rel="nofollow">DNSJava</a>.<br clear="none"> The component offers the following operations:</p><ul class="alternate"><li>ip, to resolve a domain by its ip</li><li>lookup, to lookup information about the domain</li><li>dig, to run DNS queries</li></ul> <div class="aui-message hint shadowed information-macro"> <p class="title">Requires SUN JVM</p> <span class="aui-icon icon-hint">Icon</span> <div class="message-content"> - -<p>The DNSJava library requires running on the SUN JVM.<br clear="none"> -If you use Apache ServiceMix or Apache Karaf, you'll need to adjust the <code>etc/jre.properties</code> file, to add <code>sun.net.spi.nameservice</code> to the list of Java platform packages exported. The server will need restarting before this change takes effect.</p> + <p>The DNSJava library requires running on the SUN JVM.<br clear="none"> If you use Apache ServiceMix or Apache Karaf, you'll need to adjust the <code>etc/jre.properties</code> file, to add <code>sun.net.spi.nameservice</code> to the list of Java platform packages exported. The server will need restarting before this change takes effect.</p> </div> </div> - - -<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: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ -<dependency> +<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: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-dns</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> ]]></script> -</div></div> - -<h3 id="DNS-URIformat">URI format</h3> - -<p>The URI scheme for a DNS component is as follows</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[ -dns://operation[?options] +</div></div><h3 id="DNS-URIformat">URI format</h3><p>The URI scheme for a DNS component is as follows</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[dns://operation[?options] ]]></script> -</div></div> - -<p>This component only supports producers.</p> - -<h3 id="DNS-Options">Options</h3> - -<p>None.</p> - -<h3 id="DNS-Headers">Headers</h3> - -<div class="confluenceTableSmall"> -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Operations </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.domain </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> ip </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The domain name. Mandatory. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.name </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The name to lookup. Mandatory. </p></td></tr><tr><td colspan="1" rowspa n="1" class="confluenceTd"><p> dns.type </p></td><td colspan="1" rowspan="1" class="confluenceTd"><ul class="alternate"></ul> -</td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup, dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The type of the lookup. Should match the values of <code>org.xbill.dns.Type</code>. Optional. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.class </p></td><td colspan="1" rowspan="1" class="confluenceTd"><ul class="alternate"></ul> -</td><td colspan="1" rowspan="1" class="confluenceTd"><p> lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> he DNS class of the lookup. Should match the values of <code>org.xbill.dns.DClass</code>. Optional. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.query </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The query itself. Mandatory. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> dns.server </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> dig </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The server in particular for the query. If none is given, the default one specified by the OS will be used. Optional. </p></td></tr></tbody></table></div> -</div> - -<h3 id="DNS-Examples">Examples</h3> - -<h4 id="DNS-IPlookup">IP lookup</h4> -<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[ - <route id="IPCheck"> +</div></div><p>This component only supports producers.</p><h3 id="DNS-Options">Options</h3><p>None.</p><h3 id="DNS-Headers">Headers</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Operations</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.domain</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>ip</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The domain name. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.name</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluen ceTd"><p>lookup</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The name to lookup. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.type</p></td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"><p>lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The type of the lookup. Should match the values of <code>org.xbill.dns.Type</code>. Optional.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.class</p></td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"><p>lookup, dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The DNS class of the lookup. Should match the values of <code>org.xbill.dns.DClass</code>. Optional.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.query</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td> <td colspan="1" rowspan="1" class="confluenceTd"><p>dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The query itself. Mandatory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dns.server</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>dig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The server in particular for the query. If none is given, the default one specified by the OS will be used. Optional.</p></td></tr></tbody></table></div></div><h3 id="DNS-Examples">Examples</h3><h4 id="DNS-IPlookup">IP lookup</h4><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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:ip"/> </route> ]]></script> -</div></div> - -<p>This looks up a domain's IP. For example, www.example.com resolves to 192.0.32.10.<br clear="none"> -The IP address to lookup must be provided in the header with key <code>"dns.domain"</code>.</p> - -<h4 id="DNS-DNSlookup">DNS lookup</h4> -<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[ - <route id="IPCheck"> +</div></div><p>This looks up a domain's IP. For example, www.example.com resolves to 192.0.32.10.<br clear="none"> The IP address to lookup must be provided in the header with key <code>"dns.domain"</code>.</p><h4 id="DNS-DNSlookup">DNS lookup</h4><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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:lookup"/> </route> ]]></script> -</div></div> - -<p>This returns a set of DNS records associated with a domain.<br clear="none"> -The name to lookup must be provided in the header with key <code>"dns.name"</code>.</p> - -<h4 id="DNS-DNSDig">DNS Dig</h4> -<p>Dig is a Unix command-line utility to run DNS queries.</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[ - <route id="IPCheck"> +</div></div><p>This returns a set of DNS records associated with a domain.<br clear="none"> The name to lookup must be provided in the header with key <code>"dns.name"</code>.</p><h4 id="DNS-DNSDig">DNS Dig</h4><p>Dig is a Unix command-line utility to run DNS queries.</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[ <route id="IPCheck"> <from uri="direct:start"/> <to uri="dns:dig"/> </route> ]]></script> -</div></div> - -<p>The query must be provided in the header with key <code>"dns.query"</code>.</p> - - -<h3 id="DNS-SeeAlso">See Also</h3> +</div></div><p>The query must be provided in the header with key <code>"dns.query"</code>.</p><p></p><h3 id="DNS-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">