Re: Dynamic origin file components?

2010-12-19 Thread Claus Straube
Hi Niranjan, I think you can use the fileName property. You can find an explanation under http://camel.apache.org/file2.html. Best regards - Claus On 20.12.2010 07:30, niranjan wrote: Hi Mattias, I found out the mistake. The file “message1.xml” is not in the correct path. Now it w

Re: Dynamic origin file components?

2010-12-19 Thread niranjan
Hi Mattias, I found out the mistake. The file “message1.xml” is not in the correct path. Now it working fine. Just one more quick question. After transffering the file, How do I rename that file? any thought on this? I need to rename, because there is file picker program in my re

Re: Idea for camel-scala DSL enhancement.

2010-12-19 Thread Claus Ibsen
Hi Pavel Great work. We would love help and contributions with the Scala DSL. I think we should ty to unify how you specify period / time as you suggest. And I dont mind the trade off, so please continue your work. I am sure you will even be able to find other spots in the Scala DSL which could b

Re: Issue w/ multi-parameter bean methods

2010-12-19 Thread Craig Taylor
I've gotten around the problem by turning it into a processor but the route was pro grammatically generated as from( "file:/home/myuser/data/in") .to( "bean:myLogger?method=logStart" ) .process( processor1 ) .to( "bean:myLogger?method=logEnd" ); I'll try and come up with an isolated test

Re: Dynamic origin file components?

2010-12-19 Thread niranjan
Hi Mattias I've just read your javaway blog (http://blog.jayway.com/2010/08/12/dynamic-ftp-client-using-apache-camel-and-spring/) and is a great and well written blog entry to explore dynamically ftping files. I was also recently asked to develop an FTP client that could transmit files t