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

camel-dns: starter ignores serviceCall EIP configuration

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              nferraro Nicola Ferraro

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment