I am using below in applicaiton.yml

camel:
   cloud:
      consul:
         service-discovery:
            url: http://localhost:8500

then call another service which is registered in consul service discovery
like below

<serviceCall name="camel-consul-second/api/hey?bridgeEndpoint=true"/>

but always receiving this error :

java.util.concurrent.RejectedExecutionException: No active services with
name camel-consul-second

 Where am I going wrong here ?

-- 
Kind Regards
Rana

Reply via email to