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 83A4B141C for ; Tue, 19 Apr 2011 15:48:21 +0000 (UTC) Received: (qmail 45393 invoked by uid 500); 19 Apr 2011 15:48:21 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 45350 invoked by uid 500); 19 Apr 2011 15:48:21 -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 45340 invoked by uid 99); 19 Apr 2011 15:48:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 15:48:21 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rmannibucau@gmail.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-wy0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 15:48:15 +0000 Received: by wyb42 with SMTP id 42so6186203wyb.32 for ; Tue, 19 Apr 2011 08:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=aTzzSVG+jBA+kkNnhWelYZKtalT2XdFCNEpj90sZiHo=; b=S/6LX3YVKAyBo0lGWR7tBje8/U8j+bC+CWDpHz/UsxbKCo5QmpprshSQ2xmt93Db3I WavEinpHWAhFap2Nvlwao79vgOmxSo9VRaQBpuW34vx/vuUsAhC5QYl/Sg9qKbhksJ/N GvHkZBc3hSDsqylJLrbCIM0ZIUba+eTT+61Iw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=hsXJu0QCTll8uZUwKdd6fPEuyRWCjRxIGWa7aBEN55tS3vs9qCrBmsmobBW1VSyvcQ 1uGyedNLfXP0OU6vtqjSnRSJaqDMucP1ziOsndzS0OBJM1og1uz37kwtPnZR/+7cwpz5 VriwEl/nOApXfeOpluyvB81EQk9qXWEZ0JAWU= Received: by 10.216.239.73 with SMTP id b51mr1967700wer.60.1303228074210; Tue, 19 Apr 2011 08:47:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.1.195 with HTTP; Tue, 19 Apr 2011 08:47:34 -0700 (PDT) In-Reply-To: <1303227840913-4313604.post@n5.nabble.com> References: <1303220345150-4313282.post@n5.nabble.com> <1303221337510-4313325.post@n5.nabble.com> <1303227451035-4313583.post@n5.nabble.com> <1303227840913-4313604.post@n5.nabble.com> From: Romain Manni-Bucau Date: Tue, 19 Apr 2011 17:47:34 +0200 Message-ID: Subject: Re: Routing based on exchange IN message body clas To: users@camel.apache.org Content-Type: multipart/alternative; boundary=e0cb4e43cef76cb41604a1476ef5 X-Virus-Checked: Checked by ClamAV on apache.org --e0cb4e43cef76cb41604a1476ef5 Content-Type: text/plain; charset=ISO-8859-1 using another language like groovy for example can do the trick. I dont know if we can say the type to simple language. 2011/4/19 Gert Villemos > Its because the getClass() method doesnt return a String but a Class > object, i.e. creating an inheritance hierarchy and using accessor methods > returning String from base classes works fine. > > Is there any way around this limitation? Do I need to tell 'Simple' what > type is returned from getClass? > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313604.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --e0cb4e43cef76cb41604a1476ef5--