camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dai Kuroda (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6932) The "dns.server" is not optional.
Date Mon, 04 Nov 2013 13:22:17 GMT
Dai Kuroda created CAMEL-6932:
---------------------------------

             Summary: The "dns.server" is not optional.
                 Key: CAMEL-6932
                 URL: https://issues.apache.org/jira/browse/CAMEL-6932
             Project: Camel
          Issue Type: Bug
          Components: camel-dns
    Affects Versions: 2.12.1
            Reporter: Dai Kuroda
            Priority: Minor


The "dns.server" is not optional.
http://camel.465427.n5.nabble.com/bug-dns-component-td5740962.html

The following code does not work.
{code}
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); 
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message