[
https://issues.apache.org/jira/browse/CAMEL-16561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335296#comment-17335296
]
Claus Ibsen commented on CAMEL-16561:
-------------------------------------
You are welcome to work on a PR
> 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
>
> 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)