Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6932

The "dns.server" is not optional.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.12.1
    • 2.11.3, 2.12.2, 2.13.0
    • camel-dns
    • None
    • Patch Available
    • Unknown

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

      Attachments

        Activity

          People

            njiang Willem Jiang
            kuro Dai Kuroda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: