camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kuro <962...@gmail.com>
Subject bug : dns component
Date Sun, 06 Oct 2013 13:38:28 GMT
I found a bug in DnsDigEndpoint class.
I cannot set the value of "dns.server" to null.


		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");

		ProducerTemplate p = context.createProducerTemplate();
		Exchange respExchange = p.send("dns://dig", exchange);



version: Apache camel 2.12.1





--
View this message in context: http://camel.465427.n5.nabble.com/bug-dns-component-tp5740962.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message