Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 52335 invoked from network); 15 Jul 2008 07:57:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 07:57:24 -0000 Received: (qmail 59406 invoked by uid 500); 15 Jul 2008 07:57:24 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 59286 invoked by uid 500); 15 Jul 2008 07:57:24 -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 59275 invoked by uid 99); 15 Jul 2008 07:57:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 00:57:23 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.69.129.178] (HELO exsmtp02.exserver.dk) (195.69.129.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 07:56:28 +0000 Received: from EXVS04.exserver.dk ([10.10.10.85]) by exsmtp02.exserver.dk with Microsoft SMTPSVC(6.0.3790.1830); Tue, 15 Jul 2008 09:55:03 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Component to read FixedLength file ? Date: Tue, 15 Jul 2008 09:55:20 +0200 Message-ID: <4C1FB9C00D24A140906239533638C4D204BD87E6@EXVS04.exserver.dk> In-Reply-To: <18459545.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Component to read FixedLength file ? Thread-Index: AcjmTLAjbVCUYcCZTE+RBvDQP60WCQAAk/Zg From: "Claus Ibsen" To: X-OriginalArrivalTime: 15 Jul 2008 07:55:03.0483 (UTC) FILETIME=[16D418B0:01C8E650] X-Virus-Checked: Checked by ClamAV on apache.org Hi Yes I thought also at first it was a dataformat ;) But how James created = it it works as if it is a dataformat. You just have to do it in to..from = from..to steps. from("file://c:/test").to("flatpack:foo: = locationOftheXMLConfigurationfile.pzmap.xml"); from("flatpack:foo").to("whatever you want"); As a component it gets more attention, as people can find it on the = component list. The dataformats are kinda hidden in the wiki = documentation. Maybe they need a "dataformat" top menu as well ;) Med venlig hilsen =20 Claus Ibsen ...................................... Silverbullet Skovsg=E5rdsv=E6nget 21 8362 H=F8rning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: cmoulliard [mailto:cmoulliard@gmail.com]=20 Sent: 15. juli 2008 09:32 To: camel-user@activemq.apache.org Subject: Re: Component to read FixedLength file ? Many thanks. I will test the integration of this component within Camel. Remark : I'm a little confused about how Flatpack has been integrated. = The project has been integrated like a component but from my point of view, = it should be integrated (for consistency reason) like a Dataformat. Because like the other framework/technology implemented in Camel (JAXB, Artix, XStream, ....), they transform the content from a format (XML, CSV, ...) into another format (Collection of Java objects) E.g. DataFormat flatpack =3D new DataFormat("locationOftheXMLConfigurationfile.pzmap.xml.xml") from("file:///c:/test") .unmarshall(flatpack) .to("whatever you want") Regards, Charles James.Strachan wrote: >=20 > BTW trunk has an early spike of a flatpack component. Needs more work, > but there's a basic fixed-width reader example there for the curious >=20 > 2008/7/14 James Strachan : >> I've raised a JIRA to track this... >> https://issues.apache.org/activemq/browse/CAMEL-717 >> >> 2008/7/14 James Strachan : >>> 2008/7/14 cmoulliard : >>>> >>>> Hi, >>>> >>>> Is there a component expected to read fixedlength files in Camel = like >>>> flatpack (http://flatpack.sourceforge.net/) allow to do it ? >>> >>> It should be pretty easy to write a flatpack component. >>> >>> there's a commercial tool called Artix Data Services which comes = with >>> a nice design UI that does this with Camel... >>> http://activemq.apache.org/camel/artix-data-services.html >>> >>> but it'd be nice to have an OSS option :) >>> >>> -- >>> James >>> ------- >>> http://macstrac.blogspot.com/ >>> >>> Open Source Integration >>> http://open.iona.com >>> >> >> >> >> -- >> James >> ------- >> http://macstrac.blogspot.com/ >> >> Open Source Integration >> http://open.iona.com >> >=20 >=20 >=20 > --=20 > James > ------- > http://macstrac.blogspot.com/ >=20 > Open Source Integration > http://open.iona.com >=20 >=20 ----- Enterprise Architect Xpectis 12, route d'Esch L-1470 Luxembourg Phone +352 25 10 70 470 Mobile +352 621 45 36 22 e-mail : cmoulliard@xpectis.com web site : www.xpectis.com=20 --=20 View this message in context: = http://www.nabble.com/Component-to-read-FixedLength-file---tp18444614s228= 82p18459545.html Sent from the Camel - Users mailing list archive at Nabble.com.