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

camel-consul - Support agentClient.register

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.10.0
    • Component/s: camel-consul
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: