Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16561

camel-consul - Support agentClient.register

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.9.0
    • 3.10.0
    • camel-consul
    • 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

          Activity

            People

              Unassigned Unassigned
              dschulten Dietrich Schulten
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: