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

ManagedAttribute annotated method in JmsEndpoint does not return a standard type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.10.3
    • 2.10.5, 2.11.0
    • camel-jms
    • Novice

    Description

      Methods annotated with @ManagedAttribute should return a standard type.

      The method getErrorHandlerLoggingLevel() in org.apache.camel.component.jms.JmsEndpoint is annotated with ManagedAttribute and has a return type of org.apache.camel.LoggingLevel

      This creates an Exception in JConsole: ClassNotFoundException

      Returning a String instead should solve it. (or remove the annotation)

      I can of course add the class to the classpath of JConsole, but I guess that it shouldn't be a requirement?

      Attachments

        Activity

          People

            njiang Willem Jiang
            oletjens Ole Tjensvold Johannessen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: