camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bak Attila <bakattil...@gmail.com>
Subject Waiting for a splitted file to be processed fully
Date Thu, 17 Sep 2009 09:19:23 GMT

Hi,

I have the following use case:
I have an incoming file in xml. This will be validated, then transformed
with xslt, splitted after the transformation and finally the splitted parts
will be persisted into a DB.  Configured like:
		from("file:src/data/generated?noop=true").convertBodyTo(String.class).to(
				"validator:someXSD.xsd").to(
				"xslt:someTrafo.xsl").split(
				xPathBuilder).bean(new DatabaseProcessor());
Everything works perfect.
But now i would have to store the ORIGINAL file name also into the DB. This
is kinda hard since after the trafo/split i do not have the original
messages any more.

Can you please give me an idea, how could i wait for 1 input file to be
processed fully and to log this fact somehow?
(i would need it since when the same files comes again i do not need to
process it any more then)
Any help/idea would be appreciated!!!

Thnx
attila

-- 
View this message in context: http://www.nabble.com/Waiting-for-a-splitted-file-to-be-processed-fully-tp25487843p25487843.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message