Hi all
I switched to the new 3.1 version of Axon Framework and I’m trying to integrate my Spring Boot Application with Consul. My application starts as a service in a Docker Swarm.
The documentation states that you have to add the following properties:
`
whether to fall back to http when no meta-data is available
axon.distributed.spring-cloud.fallback-to-http-get=true
the URL on which to publish local data and retrieve from other nodes.
axon.distributed.spring-cloud.fallback-url=/message-routing-information
`
in order to activate the new backup Spring Cloud Command Router.
What I don’t understand is who is in charge to provide the fallback url. Is it an endpoint that I have to implement or is it made available directly by Axon?
The other strange thing I can see from the log is that my application tries to contact that endpoint (/message-routing-information) performing a HTTP request to the consul node, using port 8300. Why it is using this port?
Thank you very much