Thanks a ton Claus it works :) -----Original Message----- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Wednesday, May 15, 2013 4:53 PM To: users@camel.apache.org Subject: Re: File component after polling should not move the file
Hi Look at the other options on that link. There is options to include files using a regular exp pattern, eg such as include=.* XMLINCF1.* On Wed, May 15, 2013 at 12:31 PM, Mohammad Shadab Ali <mohammad.a...@genpact.com> wrote: > Thanks a lot Claus it works. > > Another doubt: > I want to poll files having specific name pattern, say "XMLINCF1", i.e. I > want to poll only those files having "XMLINCF1" string in filename. > Please suggest. > > > > -----Original Message----- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Wednesday, May 15, 2013 1:31 PM > To: users@camel.apache.org > Subject: Re: File component after polling should not move the file > > Hi > > Yes see the options in the consumer table at > http://camel.apache.org/file2 > > There is a noop option > > On Wed, May 15, 2013 at 9:42 AM, Mohammad Shadab Ali > <mohammad.a...@genpact.com> wrote: >> Hi, >> >> I have a requirement where we want to poll a read-only directory using file >> component, so creating of .camel folder and moving of file to .camel folder >> will not be allowed. Is there an option available in file component that it >> should not move or delete the file from the polling directory. >> >> >> Regards, >> Shadab >> >> ________________________________ >> *** This e-mail (and any attachments), is confidential and may be >> privileged. It may be read, copied and used only by intended >> recipients. Unauthorized access to this e-mail (or attachments) and >> disclosure or copying of its contents or any action taken in reliance >> on it is unlawful. Unintended recipients must notify the sender >> immediately by e-mail/phone & delete it from their system without >> making any copies or disclosing it to a third person.*** >> >> This e-mail (and any attachments), is confidential and may be >> privileged. It may be read, copied and used only by intended >> recipients. Unauthorized access to this e-mail (or attachments) and >> disclosure or copying of its contents or any action taken in reliance on it >> is unlawful. Unintended recipients must notify the sender immediately by >> e-mail/phone & delete it from their system without making any copies or >> disclosing it to a third person. > >> > > > > -- > Claus Ibsen > ----------------- > www.camelone.org: The open source integration conference. > > Red Hat, Inc. > FuseSource is now part of Red Hat > Email: cib...@redhat.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > > *** This e-mail (and any attachments), is confidential and may be > privileged. It may be read, copied and used only by intended > recipients. Unauthorized access to this e-mail (or attachments) and > disclosure or copying of its contents or any action taken in reliance > on it is unlawful. Unintended recipients must notify the sender > immediately by e-mail/phone & delete it from their system without > making any copies or disclosing it to a third person.*** This e-mail > (and any attachments), is confidential and may be privileged. It may be read, > copied and used only by intended recipients. Unauthorized access to this > e-mail (or attachments) and disclosure or copying of its contents or any > action taken in reliance on it is unlawful. Unintended recipients must notify > the sender immediately by e-mail/phone & delete it from their system without > making any copies or disclosing it to a third person. > > -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen *** This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.*** This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.