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 2013/03/01 10:15:14 UTC

[jira] [Resolved] (CAMEL-6100) ManagedAttribute annotated method in JmsEndpoint does not return a standard type

     [ https://issues.apache.org/jira/browse/CAMEL-6100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-6100.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0
                   2.10.5
    
> ManagedAttribute annotated method in JmsEndpoint does not return a standard type
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-6100
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6100
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.10.3
>            Reporter: Ole Tjensvold Johannessen
>            Assignee: Willem Jiang
>            Priority: Trivial
>              Labels: jms, jmx
>             Fix For: 2.10.5, 2.11.0
>
>
> 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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira