[
https://issues.apache.org/jira/browse/CAMEL-16561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-16561.
---------------------------------
Fix Version/s: 3.10.0
Resolution: Fixed
> camel-consul - 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: Minor
> Fix For: 3.10.0
>
>
> 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)