Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.9.0
-
None
-
Unknown
Description
It should be possible to use agent registration and deregistration, since it is recommended by the Consul documentation https://www.consul.io/api-docs/catalog rather than catalog registration functionality, which is considered low-level.
Support this:
.to("consul:agent?action=REGISTER")
expecting a com.orbitz.consul.model.agent.Registration as body. May also support QueryOptions
The corresponding deregister method should also be supported, taking a service id.
Attachments
Issue Links
- links to