Nicola Ferraro created CAMEL-12562:
--------------------------------------
Summary: camel-dns: starter ignores serviceCall EIP configuration
Key: CAMEL-12562
URL: https://issues.apache.org/jira/browse/CAMEL-12562
Project: Camel
Issue Type: Bug
Components: camel-dns
Reporter: Nicola Ferraro
Assignee: Luca Burgazzoli
When setting:
{code:java}
camel.cloud.dns.service-discovery.enabled=true
camel.cloud.dns.service-discovery.domain=svc.cluster.local
camel.cloud.dns.service-discovery.proto=workshop{code}
The lookup is not executed with the dns provider.
Instead, if I set it in the route:
{code:java}
.serviceCall().name("inventory/api/purchases").dnsServiceDiscovery().domain("svc.cluster.local").proto("workshop");{code}
It at least tries to do the lookup with the DNS provider (although it fails to
find the service on Kubernetes).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)