[
https://issues.apache.org/jira/browse/CAMEL-10678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomohisa Igarashi resolved CAMEL-10678.
---------------------------------------
Resolution: Fixed
> Transformer registry JMX
> ------------------------
>
> Key: CAMEL-10678
> URL: https://issues.apache.org/jira/browse/CAMEL-10678
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Tomohisa Igarashi
> Priority: Minor
> Fix For: 2.19.0
>
>
> We should use each individual fields instead of a string field
> https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedTransformerRegistry.java#L86
> eg use fields
> - from
> - to
> - name
> - model
> As individual fields.
> And use name as the index field if its intended to be unique.
> This allows users to better query/browse the registry from JMX as well to
> find which transformers there is.
> Also remember to adjust the code in the jolokia command.
> https://github.com/apache/camel/blob/master/platforms/commands/commands-jolokia/src/main/java/org/apache/camel/commands/jolokia/DefaultJolokiaCamelController.java#L763
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)