Hi

I'm working with an on-vehicle system that sends a CSV file of data to an FTP 
site every 10 minutes. This is done to keep file sizes down to improve transfer 
reliability.

I need to aggregate these files so that I can split them when one column in the 
CSV data changes sign. This may only be once every 2 hours.

I got this working using a custom aggregator that aggregates the rows, looks 
through them for data changes and then makes a new exchange some of the data 
(if a change is detected) using a FluentProducerTemplate, leaving the remaining 
data in the oldExchange.

Is this the right way to go about this or have I recreated something that Camel 
can do more cleanly?

David Smith



This email may contain information which is confidential and is intended only 
for use of the recipient/s named above. If you are not an intended recipient, 
you are hereby notified that any copying, distribution, disclosure, reliance 
upon or other use of the contents of this email is strictly prohibited. If you 
have received this email in error, please notify the sender and destroy it. 
'Think before you print - please do not print this email unless you really need 
to' Balfour Beatty plc is registered in England as a public limited company; 
Registered No: 395826; Registered Office: 5 Churchill Place, Canary Wharf, 
London E14 5HU Warning: Although the company has taken reasonable precautions 
to ensure no viruses or other malware are present in this email, the company 
cannot accept responsibility for any loss or damage arising from the use of 
this email or attachments.

Reply via email to