Re: Super basic questions

2014-01-21 Thread boday
the camel-hdfs producer will throw an error if the send operation fails...internally it just uses a standard HdfsOutputStream...so any step in the route following this send would only be triggered upon successful send operation, and you can use standard Camel onException/doCatch routing exception h

Re: Super basic questions

2014-01-21 Thread mister blinky
Thanks for your response. I think i got it. Let me state it to confirm, then I have a follow up question. So the /.to(:)/ establishes a contract with Camel that a) the /endpoint-type/ defines the message format among other things required by the endpoint; and b) the /URL-of-endpoint-API/ establis

Re: Super basic questions

2014-01-20 Thread boday
in short, Camel parses the from/to URIs to call a Java API that knows how to speak that specific component's language (File I/O, HDFS, etc). So, yes...formatting an appropriate (see camel-hdfs examples) URI to your HDFS server will tell Camel to poll for files from "://in" directory and send the