[ 
https://issues.apache.org/jira/browse/CAMEL-16561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17337775#comment-17337775
 ] 

Dietrich Schulten commented on CAMEL-16561:
-------------------------------------------

There you go: https://github.com/apache/camel/pull/5482

> 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)

Reply via email to