Repository: camel Updated Branches: refs/heads/master 92e2e0856 -> a30f7bd5b
Added automatic docs generation to camel-dns Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a30f7bd5 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a30f7bd5 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a30f7bd5 Branch: refs/heads/master Commit: a30f7bd5bbe0b878b71b6d5391a654232891f314 Parents: 92e2e08 Author: Andrea Cosentino <anco...@gmail.com> Authored: Sun Aug 7 09:37:45 2016 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Sun Aug 7 09:37:45 2016 +0200 ---------------------------------------------------------------------- components/camel-dns/src/main/docs/dns.adoc | 29 ++++++++++++++++++------ 1 file changed, 22 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/a30f7bd5/components/camel-dns/src/main/docs/dns.adoc ---------------------------------------------------------------------- diff --git a/components/camel-dns/src/main/docs/dns.adoc b/components/camel-dns/src/main/docs/dns.adoc index 7ce61a8..d35a095 100644 --- a/components/camel-dns/src/main/docs/dns.adoc +++ b/components/camel-dns/src/main/docs/dns.adoc @@ -13,18 +13,13 @@ http://www.xbill.org/dnsjava/[DNSJava]. + * lookup, to lookup information about the domain * dig, to run DNS queries -[Info] -==== - *Requires SUN JVM* - +INFO:*Requires SUN JVM* The DNSJava library requires running on the SUN JVM. + If you use Apache ServiceMix or Apache Karaf, you'll need to adjust the `etc/jre.properties` file, to add `sun.net.spi.nameservice` to the list of Java platform packages exported. The server will need restarting before this change takes effect. -==== - Maven users will need to add the following dependency to their `pom.xml` for this component: @@ -55,7 +50,27 @@ This component only supports producers. Options ^^^^^^^ -None. + +// component options: START +The DNS component has no options. +// component options: END + + + +// endpoint options: START +The DNS component supports 3 endpoint options which are listed below: + +{% raw %} +[width="100%",cols="2s,1,1m,1m,5",options="header"] +|======================================================================= +| Name | Group | Default | Java Type | Description +| dnsType | producer | | DnsType | *Required* The type of the lookup. +| exchangePattern | advanced | InOnly | ExchangePattern | Sets the default exchange pattern when creating an exchange +| synchronous | advanced | false | boolean | Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported). +|======================================================================= +{% endraw %} +// endpoint options: END + [[DNS-Headers]] Headers