Hi Yes read the javadoc of the API you are using. It explains why. http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ConsumerTemplate.html
On Fri, Nov 2, 2012 at 1:06 PM, Elezabeth <[email protected]> wrote: > Hi, > > I am using camel to read a csv file using the ConsumerTemplate as shown > below: > > / Exchange recievedEx = consumer.receive("file:" + fileLocation > + "?fileName=" + fileName);/ > > > Ideally, the default behaviour of the File consumer is that after reading > the file the file will be moved to .camel folder. But in my case , this is > not working. Why?? > > The file is beiang read successfully but file moving is not happening.. > > > I tried to give move option in the above line, but that is also not working. > > > Can anyone help me in finding out what is wrong!!!.. > > Thanks in Advance > > > > ----- > Thanks & Regards > Elz > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-comsumer-options-not-working-tp5722020.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
