Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6A69D37C for ; Fri, 1 Mar 2013 09:15:14 +0000 (UTC) Received: (qmail 30425 invoked by uid 500); 1 Mar 2013 09:15:14 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 30405 invoked by uid 500); 1 Mar 2013 09:15:14 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 30375 invoked by uid 99); 1 Mar 2013 09:15:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 09:15:14 +0000 Date: Fri, 1 Mar 2013 09:15:14 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-6100) ManagedAttribute annotated method in JmsEndpoint does not return a standard type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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