camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From souciance <souciance.eqdam.ras...@gmail.com>
Subject Re: failing move to processed, processing over and over again
Date Wed, 29 Jun 2016 10:38:28 GMT
Hello,

I think it is a bit hard because these are probably IO exceptions and I am
not sure they pop up to the "camel layer".

You can try to add an OnException on the route to trigger on IOExceptions
and see if it catches the exception when the move fails. If it does then
you can try to then move it to another folder.

Best
Souciance

On Wed, Jun 29, 2016 at 12:15 PM, Hans Orbaan [via Camel] <
ml-node+s465427n5784545h58@n5.nabble.com> wrote:

> Hi,
>
> I did not see Camel trying to move the files to the failed folder when a
> move to the processed folder has failed. Of course I could move them
> myself/manually but we had sudden permission issues on those folders at
> night when no one was looking.
>
> Also I think our error handler did not get triggered. We do have one and
> it did not notify anyone.
> But like I said... the route finished successfully just the move to
> processed did not.
>
> Thanks!
>
>
>
> -----Oorspronkelijk bericht-----
> Van: Claus Ibsen [mailto:[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5784545&i=0>]
> Verzonden: Wednesday 29 June 2016 12:01
> Aan: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5784545&i=1>
> Onderwerp: Re: failing move to processed, processing over and over again
>
> You can move the failed files to an error folder. But you need to think
> generally about error handling and how you want to deal with that.
>
>
>
> On Wed, Jun 29, 2016 at 11:43 AM, Hans Orbaan <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5784545&i=2>> wrote:
>
> > Hi All,
> >
> > When a file has been processed correctly, it can be moved to a processed
> folder (?move=processed). If this move fails, files will be processed over
> and over again. Is there something that can be done about this?
> > A solution in Camel could be to automatically start using the idempotent
> repository so they won't be processed as many times.
> >
> > Does anyone have a workable solution to prevent processing over and over
> again which can be used with current versions? Any solution that is
> feasible for future releases?
> >
> > Thanks for any help!!1
> >
> > With kind regards,
> >
> > Hans Orbaan
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/failing-move-to-processed-processing-over-and-over-again-tp5784540p5784545.html
> To start a new topic under Camel - Users, email
> ml-node+s465427n465428h31@n5.nabble.com
> 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/failing-move-to-processed-processing-over-and-over-again-tp5784540p5784546.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message