camel « Development « Java I/O Q&A





1. CAMEL is processing the file before the "mv" command completes    stackoverflow.com

We are facing a problem in our monitor script. The flow of the program is

  1. Customer ftp/sftp the file (in .csv format) to "source" directory
  2. Bash script renames the completed .csv file to .aaa ...

2. How do I write out a file using camel, and return the name of the file?    stackoverflow.com

If I send direct:report a byte[]. How do I find out the absolute path and name of the file it was written to?

from("direct:report").to("file:target/reports");

3. How to send serialized java objects via apache camel?    stackoverflow.com

We use Message or Exchange to set the outbound message . the only method these provide is exchange.getOut.setBody(); if i do something like setBody(new Object())..it doesn't work so how do we send ...

4. Apache Camel Ftp2 order of downloaded files    stackoverflow.com

How I can specify the order in which I want to pull data from ftp, for instance for some folders I want to pull data in alphabetical order or numerical but ...

5. Apache Camel using AHC component throws java.io.IOException: Invalid CRLF while unmarshalling XML using JAXB    stackoverflow.com

I am trying to use Apache Camel's AHC component for sending the some request data to multiple URLs and gather the responses. To do this on my local machine I have done ...