SEDA and concurrentConsumers

2012-09-11 Thread Tim Dudgeon
I'm trying to use the SEDA component with the concurrentConsumers options. I'm setting a queue size and expecting the calling thread to block, but its not working for me. I have groovy code like this: def vals = 1..10 println vals CamelContext camelContext = new DefaultCamelContext()

Re: Surviving exceptions during splitting

2012-09-10 Thread Tim Dudgeon
On 10/09/2012 07:04, Claus Ibsen wrote: Where from is the IOException being thrown From within the next() method of the Iterator that the splitter generates. Tim

Surviving exceptions during splitting

2012-09-09 Thread Tim Dudgeon
I've got a route that splits a large file into records, using a splitter. Its basically working but I can't get it to tolerate errors during the splitting. The route terminates on the first error, but I want that error to be caught so that the bad record can be logged and processing continue

Re: Surviving exceptions during splitting

2012-09-09 Thread Tim Dudgeon
it's a custom splitter, you have the full control how to handle the error... [1] http://camel.apache.org/how-can-i-get-help.html [2] http://camel.apache.org/splitter.html Best, Christian On Sun, Sep 9, 2012 at 4:09 PM, Tim Dudgeon tdudgeon...@gmail.com wrote: I've got a route that splits a large

Advice on mirroring using FTP2 component

2012-09-03 Thread Tim Dudgeon
Hi, I'm new to Camel, so please excuse my ignorance. I'm wanting to set up mirroring of files on a FTP server, so that whenever new files appear, or old files get changed, they get copied to the local mirror, and maybe some processing performed on them. I've worked out the basics of how to use

Re: Advice on mirroring using FTP2 component

2012-09-03 Thread Tim Dudgeon
really stupid here, but it feels like I'm trying to re-invent a wheel that's been invented before plenty of times. Tim On Mon, Sep 3, 2012 at 6:31 PM, Tim Dudgeon tdudgeon...@gmail.com wrote: Hi, I'm new to Camel, so please excuse my ignorance. I'm wanting to set up mirroring of files

<    1   2