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 = new
DataFormat("locationOftheXMLConfigurationfile.pzmap.xml.xml")

from("file:///c:/test")
.unmarshall(flatpack)
.to("whatever you want")

Regards,

Charles



James.Strachan wrote:
> 
> 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
> 
> 2008/7/14 James Strachan <[EMAIL PROTECTED]>:
>> I've raised a JIRA to track this...
>> https://issues.apache.org/activemq/browse/CAMEL-717
>>
>> 2008/7/14 James Strachan <[EMAIL PROTECTED]>:
>>> 2008/7/14 cmoulliard <[EMAIL PROTECTED]>:
>>>>
>>>> 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
>>
> 
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 


-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : [EMAIL PROTECTED]
web site : www.xpectis.com 
-- 
View this message in context: 
http://www.nabble.com/Component-to-read-FixedLength-file---tp18444614s22882p18459545.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to