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

camel-core: allow to add metadata/properties to a route

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.22.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Routes have properties but it is not exposed to the DSL so it is not possible to add arbitrary meatadata to a route.

      Having such option is useful for some use cases:

      • cloud related service registration: information added to a route as metadata can be used to automatically expose a route as a service in a cloud environment (consul, etcd, k8s, spring-cloud)
      • property resolution could also take into account properties/metadata bound to a route, this is useful when the route is automatically generated so the same property but with different value can be used by different routes.

        Attachments

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              lb Luca Burgazzoli
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: