Yes, that's slow. Would it be possible to do a bit of profiling and provide some metrics to identify where the bottleneck is?
Hadrian

On 03/04/2013 03:59 PM, Jean Francois LE BESCONT wrote:
I have try to us BodyInAggregatingStrategy in [????] :

.aggregate(header("CamelFileName"), new
BodyInAggregatingStrategy()).completionTimeout(3000)

But it is also slow ... 12 000 lines in 20 seconds, not possible for a
mediation system...


2013/3/4 jeff <jflebesc...@gmail.com>

Thks Claus for the answer, but I have not found the simplest way to do a
simple:

                 from("file://input")
                                 .split()
                                 .tokenize("\n")
                                 .unmarshal
                                 .bindy(BindyType.Csv, AED.class)
                                 .bean(AEDProcessor.class, "processTicket")
                                 .marshal()
                                 .bindy(BindyType.Csv, AEDResult.class)
                                 [?????]
                                 .to("file://output?fileName=${file:name}")

The only way I found is to do a :

.to("file://output?fileName=${file:name}&fileExist=Append")

But it is too slow !





--
View this message in context:
http://camel.465427.n5.nabble.com/Opposite-of-split-tp5728255p5728481.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Reply via email to