camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lb <lburgazz...@gmail.com>
Subject Split hierarchical-flat file
Date Mon, 09 Dec 2013 15:21:20 GMT
Hi all,
I have a file which has the following content (fixed length record):

Main Header record (starts with HR)
Sub Header record (starts with SH)
Data record (starts with DR)
Sub Header record  (starts with SH)
Data record (starts with DR)
Sub Header record  (starts with SH)
Data record (starts with DR)
...

The sub header record defines some of the attributes of the data that
follows.

I can easily process DR records only but is there a way to stick some
information from the sub header record and from the main header record to
the DR record?

Thx,
Luca




--
View this message in context: http://camel.465427.n5.nabble.com/Split-hierarchical-flat-file-tp5744513.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message