Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 893EF95E0 for ; Tue, 27 Sep 2011 19:19:31 +0000 (UTC) Received: (qmail 38387 invoked by uid 500); 27 Sep 2011 19:19:31 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 38351 invoked by uid 500); 27 Sep 2011 19:19:31 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 38341 invoked by uid 99); 27 Sep 2011 19:19:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 19:19:31 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of dan.jakubiec@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 19:19:25 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R8dBJ-00037W-Ks for users@camel.apache.org; Tue, 27 Sep 2011 12:19:05 -0700 Date: Tue, 27 Sep 2011 12:19:05 -0700 (PDT) From: djakubiec To: users@camel.apache.org Message-ID: <1317151145640-4846649.post@n5.nabble.com> In-Reply-To: References: <1317059609374-4842269.post@n5.nabble.com> Subject: Re: How do I access the message class name from Simple? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ah, thanks for the explanation! I see a JIRA ticket was opened as well, thanks. For those seeking an interim workaround, I added a getType() function to the base class shared by all my JMS messages: public String getType() { return this.getClass().getSimpleName(); } Which now makes this work: Thanks for the quick responses. -- Dan -- View this message in context: http://camel.465427.n5.nabble.com/How-do-I-access-the-message-class-name-from-Simple-tp4842269p4846649.html Sent from the Camel - Users mailing list archive at Nabble.com.