You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ranabroto Ghosh <ra...@globalcharge.com> on 2019/05/24 08:33:36 UTC

serviceCall EIP not working with consul

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

Re: serviceCall EIP not working with consul

Posted by Andrea Cosentino <an...@yahoo.com.INVALID>.
Hello. You already sent this in the users mailing list. To avoid effort answering it on multiple thread, please avoid duplicates.

--
Andrea Cosentino 
----------------------------------
Apache Camel PMC Chair
Apache Karaf Committer
Apache Servicemix PMC Member
Email: ancosen1985@yahoo.com
Twitter: @oscerd2
Github: oscerd






On Friday, May 24, 2019, 10:34:02 AM GMT+2, Ranabroto Ghosh <ra...@globalcharge.com> wrote: 





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