[
https://issues.apache.org/jira/browse/CAMEL-16561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dietrich Schulten updated CAMEL-16561:
--------------------------------------
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:
{code:java}
.to("consul:agent?action=REGISTER"){code}
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.
was:
It should be possible to use agent registration, since it is recommended by the
Consul documentation [https://www.consul.io/api-docs/catalog] rather than
catalog registration.
Support this:
{code:java}
.to("consul:agent?action=REGISTER"){code}
expecting a {{com.orbitz.consul.model.agent.Registration}} as body. May also
support {{QueryOptions}}
> Support agentClient.register
> ----------------------------
>
> Key: CAMEL-16561
> URL: https://issues.apache.org/jira/browse/CAMEL-16561
> Project: Camel
> Issue Type: Improvement
> Components: camel-consul
> Affects Versions: 3.9.0
> Reporter: Dietrich Schulten
> Priority: Major
>
> 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:
> {code:java}
> .to("consul:agent?action=REGISTER"){code}
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)