Details
Description
The "dns.server" is not optional.
http://camel.465427.n5.nabble.com/bug-dns-component-td5740962.html
The following code does not work.
Map<String, Object> headers = exchange.getIn().getHeaders(); headers.put("dns.name", "www.example.com"); headers.put("dns.type", "TXT"); ProducerTemplate template = context.createProducerTemplate(); Exchange respExchange = template.send("dns://dig", exchange);