[ 
https://issues.apache.org/jira/browse/CAMEL-12463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luca Burgazzoli reassigned CAMEL-12463:
---------------------------------------

    Assignee: Luca Burgazzoli

> camel-core: allow to add metadata/properties to a route
> -------------------------------------------------------
>
>                 Key: CAMEL-12463
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12463
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 2.22.0
>
>
> Routes have 
> [properties|https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/Route.java#L88]
>  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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to