I guess if the files are not removed automatically you could at a custom bean that removes them after an OnCompletion block.
On Fri, Jan 27, 2017 at 10:45 PM, GaryLeeMills [via Camel] < [email protected]> wrote: > Clause, again thank you for taking time to help out of your busy day :) I > am excited to receive your new publication. > > I have not upgraded yet, will on Monday. > > I have tried removing the readlock however, it does leave me open to over > writing existing files. the frequency of files received is random. this is > thru the pollEnrich enrichment path. > > is there anyway to make the producer not overwrite a file? I see on the > consumer but not the producer. > because of the pollEnrichment path and dynamic names I simply convert to a > static name, then process in the pollEnrich API. now removing the readlock > and an unknown file frequency sometimes a file or two get overwritten. > > thanks > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/camel-pollEnrich-API-not- > working-properly-Camel-2-15-leaves-file-locks-on-aggregation-uri-path- > tp5793038p5793139.html > To start a new topic under Camel - Users, email > [email protected] > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/camel-pollEnrich-API-not-working-properly-Camel-2-15-leaves-file-locks-on-aggregation-uri-path-tp5793038p5793141.html Sent from the Camel - Users mailing list archive at Nabble.com.
