Re: serviceCall: must be configured before it can be used

2016-10-18 Thread Claus Ibsen
Also mind its maybe easier and more understandable to configure service call outside the route on a global level. However the unit test embeds the configuring inside the route. On Tue, Oct 18, 2016 at 10:39 PM, Claus Ibsen wrote: > You need to configure service call

Re: serviceCall: must be configured before it can be used

2016-10-18 Thread Claus Ibsen
You need to configure service call which registry to use, such as consul. There is a little unit test here https://github.com/apache/camel/blob/master/components/camel-consul/src/test/java/org/apache/camel/component/consul/processor/remote/ConsulServiceCallRouteTest.java On Tue, Oct 18, 2016 at

serviceCall: must be configured before it can be used

2016-10-18 Thread ValeryN
Hello, I'm trying to use serviceCall (introduced in 2.18 version) from Spring Boot app, consul as a service discovery tool. Here is an example: from("direct:test") .serviceCall("config-api") .log("${body}"); Both app