Camel Clustering

2017-12-21 Thread Ambika Das
Hi, I am looking for out of the box support for clustering in a hybrid environment. What the Zookeeper Route policy provides is a master / slave route policy where the slave becomes active only when master fails. Is there any way of having multiple nodes and let these nodes consume file / mess

Re: Camel processes only the first 150 rows in CSV

2017-05-18 Thread Ambika Das
I am using currently readLock and doneFileName, but the issue persists. sftp://server:port/data?delay=1&doneFileName=${file:name}.done&move=.done&moveFailed=failed&noop=true&password=xx&readLock=changed&username=abcd Regards, Ambika _________

Re: Camel processes only the first 150 rows in CSV

2017-05-18 Thread Ambika Das
` settings with `doneFileName`, i.e. the app that is writing the file to the SFTP server leaves another file (a marker file) that indicates that it's done writing. zoran zoran On Thu, May 18, 2017 at 8:58 AM, Ambika Das wrote: > Hi All, > > > I am developing a aggregator application w

Re: Camel processes only the first 150 rows in CSV

2017-05-18 Thread Ambika Das
I put the file in the SFTP drop box and started the application. It takes up the first 150 rows for processing. Any reason why Camel skips rest of the rows? Regards, Prasad From: Ambika Das Sent: Thursday, May 18, 2017 12:28 PM To: users@camel.apache.org

Camel processes only the first 150 rows in CSV

2017-05-17 Thread Ambika Das
Hi All, I am developing a aggregator application which is supposed to consume a CSV and generate the message. I have developed it as a Spring boot application. The problem is when I transfer a file it takes only the first 150 record and processes. The file is still there in the folder. If I re

Re: Old Exchange always returns null

2017-03-27 Thread Ambika Das
n wrote: > Your use the file name as aggregrate expression and therefore its > grouping per file name and so file a.txt and b.txt do not group > together. > > And you get aggregate with old exchange as null when a new group is started > > On Mon, Mar 27, 2017 at 10:49 AM, Am

Old Exchange always returns null

2017-03-27 Thread Ambika Das
Hi, I am aggregating contents of a csv file. the csv file can contain rows with same e mail id. For those lines I need to generate a combined JSON with contents aggregated. I am using PreCompletionAwareAggregationStrategy and my aggregate method looks like this. if (oldExchange == null) { re