Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.19.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
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
Attachments
Issue Links
- links to