This content has been marked as final.
Show 2 replies
-
1. Re: Starting a route conditionally - Only when another finishes
davsclaus Jan 23, 2012 4:12 AM (in response to fabioluissilva_fabioluissilva)You can use a RoutePolicy, to start the other route, when you are done.
http://camel.apache.org/routepolicy
Another alternative is to check whether file A has been moved, before picking up file B is allowed. So you can use a custom filter in your consumer, to implement this logic
Using the filter option
Then you can return true|false from the accept method. Then only return true if file A has been moved.
-
2. Re: Starting a route conditionally - Only when another finishes
fabioluissilva_fabioluissilva Jan 23, 2012 6:44 AM (in response to davsclaus)Thanks a lot for your precious help. I'll try that as soon as possible.
Kind regards