Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 50181 invoked from network); 11 Dec 2008 14:32:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2008 14:32:41 -0000 Received: (qmail 37367 invoked by uid 500); 11 Dec 2008 14:32:54 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 37228 invoked by uid 500); 11 Dec 2008 14:32:54 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 37217 invoked by uid 99); 11 Dec 2008 14:32:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 06:32:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.strachan@gmail.com designates 64.233.170.188 as permitted sender) Received: from [64.233.170.188] (HELO rn-out-0910.google.com) (64.233.170.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 14:32:39 +0000 Received: by rn-out-0910.google.com with SMTP id j67so1047612rne.21 for ; Thu, 11 Dec 2008 06:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=RcDPzq7O7EJE+Ix86KpnmHY5JPm7hJedfEcXTUhxX6c=; b=efDTN4KVxLQjn3+Dxz7sX8iwsqnqFBLq9bEx4a2xqHsrw1PcbWc9K7bopvD+atrD+g hqc+DFhoDpiBjuuEAsn1kuj32p6q+7zphH2WPwlHGh5Igvu52K/GPXWRiGdsiyiW3w/N gX5MLSMCHu1wBqXEUrGrK6mVojaJNbCN+pPkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=kjsIwc7RrEfpru6GAqY1myM2EWbwNn8Mx4fJ1kxjB5LbTLavfeOu7YH+X9w+o/u8Ms qdr4amii7FTUEqyCX0e7niqCdWldCeKRlwRqRNTkyE/8KPozronqHMSxTMAZfYc/9mIe QyCv8z2IzdHKxsFJKCThtLyoNio4x1HoAg1OA= Received: by 10.151.42.6 with SMTP id u6mr4354232ybj.153.1229005938851; Thu, 11 Dec 2008 06:32:18 -0800 (PST) Received: by 10.151.139.7 with HTTP; Thu, 11 Dec 2008 06:32:18 -0800 (PST) Message-ID: Date: Thu, 11 Dec 2008 14:32:18 +0000 From: "James Strachan" To: camel-user@activemq.apache.org Subject: Re: Is there a way to extend marshall method of CsvDataFormat class In-Reply-To: <509899e80812110629v13f4f333x7251d8d91c103714@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20955830.post@talk.nabble.com> <20956121.post@talk.nabble.com> <509899e80812110629v13f4f333x7251d8d91c103714@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/12/11 Ramon Buckland : >> Maybe we need some kinda endpoint that lets you set arbitrary nested >> properties on a bean? e.g. it could take a Map or List of Maps and >> make instances of a certain type - then set the properties on the bean >> using introspection? I guess its only gonna be useful for taking data >> from CSVs; but who knows maybe this could be useable for other >> scenarios, like taking arbitrary JSON or something? > > > Would/Could dozer be used for this purpose ? possible .. > I have only used dozer in simple situations (like for like beans) but I > suspect(only suspect) that dozer could do this .. > there are other bean mappers yes(?) Great point! We could do with Dozer integration! -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/