Right, so just to be clear, to treat it as optional it should be like this:
Map<String, Object> headers = exchange.getIn().getHeaders(); //headers.put("dns.server", null); //headers.put("dns.server", ResolverConfig.getCurrentConfig().server()); headers.put("dns.class", ""); headers.put("dns.name", "www.example.com"); headers.put("dns.type", "TXT"); On Sun, Oct 6, 2013 at 6:50 PM, kuro <962...@gmail.com> wrote: > Yes ! > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/bug-dns-component-tp5740962p5740993.html > Sent from the Camel - Users mailing list archive at Nabble.com.