You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/03/06 10:33:38 UTC

[jira] [Resolved] (CAMEL-8443) Add properties to route via DSL and XML, expose route properties via JMX

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

Claus Ibsen resolved CAMEL-8443.
--------------------------------
    Resolution: Fixed
      Assignee: Claus Ibsen

The route description is now used as JMX description.

For Java and Scala DSL there is now a new .routeDescription to more easily set that.

> Add properties to route via DSL and XML, expose route properties via JMX
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-8443
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8443
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, jmx
>            Reporter: Jyrki Ruuskanen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.15.0
>
>
> Allow adding arbitrary String properties to a route, with .routeProperty(name, value) in Java DSL and <routeProperty name="..." value="..."/> in XML.
> Expose getProperties(), getProperty(String name) and setProperty(String name, String value) for routes in JMX.
> Our use case:
> Add documentation to route in code and show it on a graph of Camel contexts, routes and endpoints in a running system. Graph is generated from JMX data.
> This would be nice data to show on hawtio as well. Although in this case we might want to use an explicit documentation variable rather than a reserved property name.
> Route has a properties map but that's used internally. These public properties would be held in a new map: publicProperties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)