You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/11/05 08:58:22 UTC

[jira] [Commented] (CAMEL-6932) The "dns.server" is not optional.

    [ https://issues.apache.org/jira/browse/CAMEL-6932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813732#comment-13813732 ] 

Willem Jiang commented on CAMEL-6932:
-------------------------------------

Hi Dai,

Can you submit the patch file to this JIRA?
We can have some legal issue if we just merge the patch from github pull request.

BTW, the patch looks good.

Willem

> 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
>            Assignee: Willem Jiang
>            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)