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

camel-dns: starter ignores serviceCall EIP configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • None
    • 2.21.2, 2.22.0
    • camel-dns
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: