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 2017/01/06 08:23:58 UTC
[jira] [Created] (CAMEL-10678) Transformer registry JMX
Claus Ibsen created CAMEL-10678:
-----------------------------------
Summary: 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)