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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.22.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: