Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10678

Transformer registry JMX

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.19.0
    • camel-core
    • None
    • 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

          Activity

            People

              igarashitm Tomohisa Igarashi
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: