Thank you very much...
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-use-special-character-for-file-consumer-endpoint-tp5765049p5765052.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I need to consume the "refund_2013123.txt23408+0630.txt" inside the tmp
directory.
Exchange exc= consumerTemplate.receive(
"file:/tmp?fileName=refund_2013123.txt23408+0630.txt");
Then it is not consuming the file. I hope it is due to + character. When it
is removed (from file nam
Thank you very much for your valuable comments.
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-apache-camel-supports-nested-route-tp5748061p5748264.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thank you very Robert Simmons for you valuable reply.
Still I have one issue, with above solution it will create multiple files
based on split size. How can I avoid this and encrypt into single file. For
that I had used "onCompletion" mechanism.
I enhanced the initial design with your feedback. B
Apache Camel Route:
from("file:/tmp/test?include=.*.csv").process(new Processor() {
public void process(Exchange exchange) throws Exception {
// set output file name
exchange.setProperty("outputFile",
exchange.getIn().getHeader(Exchange.FILE_NAME, String.class