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

The "dns.server" is not optional.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.12.1
    • Fix Version/s: 2.11.3, 2.12.2, 2.13.0
    • Component/s: camel-dns
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: