Thank you @Iburgazzoli, I tried as you said and its working.
Caller Microservice pom.xml, i just pasted related part
org.springframework.cloud
spring-cloud-starter-netflix-eureka-client
org.apache.camel
camel-spring-cloud-starter
${camel.version}
Yes it is possible if you use spring-boot +
spring-cloud-eureka-discovery + camel-spring-cloud.
i.e. in camel-example-spring-cloud-servicecall we use consul but if
you swap consul by eureka, it should work too as camle uses the
generic DiscoveryClient implementation provided by spring-cloud.
If
I wanted something like below,
Can camel not use some component to discover the service URL from eureka
for this service?
On 17 August 2018 at 13:41, Ranabroto Ghosh <
ranabroto.gh...@globalcharge.com> wrote:
> I want two simple camel micro-service application and they communicating
> using
How do you run Camel?
If you use Spring Boot you just have to add @EnableDiscoveryClient and
configure the server name/port
-Original Message-
From: Ranabroto Ghosh
Sent: Freitag, 17. August 2018 14:41
To: users@camel.apache.org
Subject: can Eureka be used as service
I want two simple camel micro-service application and they communicating
using Eureka service discovery, is this possible? I found couple of
examples camel using Consul but nowhere with Eureka. I would very thankful
if anybody can help with a sample code example.
--
Kind Regards
Rana