Re: Starting a route after another completes

2014-01-29 Thread mister blinky
thanks. Although i've been over and over the onCompletion and Batch Consumer doc pages, your prompting at least made me realize i was looking in the right place! So for others who may have this issue, here's the solution. Basically you test in onCompletion for when the batch is complete. Nice and

Re: Starting a route after another completes

2014-01-29 Thread Claus Ibsen
Hi This has been discussed before on these forums. Look for on completion onWhen the batch is complete. http://camel.apache.org/oncompletion.html http://camel.apache.org/batch-consumer.html On Wed, Jan 29, 2014 at 4:03 PM, mister blinky wrote: > I would like to bump this question. It seems like

Re: Starting a route after another completes

2014-01-29 Thread mister blinky
I would like to bump this question. It seems like a common scenario that should be handled in a simpler (to the developer) way. Here's my scenario: 1) FTP the contents of a directory to a remote server 2) When the FTP is complete, do something with the files ... So this is the route for (1) from(

Re: Starting a route after another completes

2011-08-25 Thread Claus Ibsen
On Thu, Aug 25, 2011 at 3:21 PM, Gert Villemos wrote: > I have a route 'from' a file component processing all files in a directory. > > When all have been processed (and not before), then I want another route to > start. > > I tried 'startupOrder' but both routes are still started almost together,