Hi,
I have a requirement, where I need to call a shell script (for zipping
and unzipping files with associated passwords if any) from the route.
I have chosen exec component to do so. I have seen exec:java or exec:perl to
execute respective java or perl files/scripts. Is there any direct way
Hi,
I am trying read multiple files from a directory at a time within my
camel route.
E.g.
from(src).bean(abc.class).to(dest)
In the above route, source is a directory which would contain 2-3 files in
it. If I run this route, then camel will process one file at a time and will
route it to
Thanks a lot Clause.
Within the borders of my requirement the first approach (which you mentioned
above) looks very much implementable.
Thanks and Regards,
Jeevan Mithyantha.
--
View this message in context:
Hi Christian,
to be give you better picture, my requirement goes like
this.
I need to transfer a fixed length record file to a destination Meanwhile, my
route is responsible for transforming into required format (say to CSV or to
XML).
Now, the input file may be too big. It may
Hi Claus,
one more quwstion here.
I am splitting my messages using custom iterator. But, I am seeing once the
route is finished (i.e. when a file routed to destination), messages are
getting overwrited in it.
Say, my starting message will be A,B,C. I split them into some chunks say
Hi,
After splitting the messages, I am transforming them into different
format and sending them to a single file.
So, right now, after transforming, data is not sppending to the destination
file (instead its over writing). You suggested to append them. As I am using
a custom iterator and my
Hi Claus,
are you suggesting something like below..
from(src).split().method(splitbean which returns an custom
Iterator).streaming().to(file:...?fileExist=Append);
Is that the correct approach?
--
View this message in context:
Christian,
thanks for the response. I have few doubts based on my
requirement.
I am trying to develop a custom splitter, a kind of bean, which would handle
splitting based on number of lines in the input file (requirement is to
split a single input file into multiple output files
Thanks Calus.
Now, I got a picture how to handle the split according to my requirement.
As you suggested, I should use a custom Iterator, something like below one.
http://www.ecreate.co.uk/pages/inputStreamIterator.php
--
View this message in context: