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

camel-dns: starter ignores serviceCall EIP configuration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: None
    • Fix Version/s: 2.21.2, 2.22.0
    • Component/s: camel-dns
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When setting:

      camel.cloud.dns.service-discovery.enabled=true
      camel.cloud.dns.service-discovery.domain=svc.cluster.local
      camel.cloud.dns.service-discovery.proto=workshop

      The lookup is not executed with the dns provider.

       

      Instead, if I set it in the route:

      .serviceCall().name("inventory/api/purchases").dnsServiceDiscovery().domain("svc.cluster.local").proto("workshop");

       

      It at least tries to do the lookup with the DNS provider (although it fails to find the service on Kubernetes).

       

       

        Attachments

        1. report.log
          151 kB
          Nicola Ferraro

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              nferraro Nicola Ferraro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: