is it also possible to fix that only using camel as ut should be something
really simple and common ?

yours Arnold

Am Freitag, 23. Januar 2015 schrieb David J. M. Karlsen [via Camel] :

> You can have a look at
> http://commons.apache.org/proper/commons-transaction/
> and possibly my adaption into a spring PlatformTransactionManager of it:
> https://github.com/davidkarlsen/Commons-Transaction-Spring-Integration
>
> 2015-01-23 17:35 GMT+01:00 arnoldmad <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5762067&i=0>>:
>
> > Hi !
> >
> > I have a simple application that contains of 2 parts. a HttpSender
> > application that polls a local directory and should send the files via
> http
> > to another application (HttpReceiver) that will write the files again to
> > the
> > disk.
> >
> > Here are the 2 routes:
> > Sender:
> >
> > from("file:in?noop=false")
> > .to("http4:localhost:4711/receiver");
> >
> > Receiver:
> >
> > from("jetty:http://localhost:4711/receiver";)
> > .to("file:out");
> >
> >
> > My issue is that the transfer is done via the internet end that the
> > connection drops and I get incomplete files on the receiver side.
> > What do I need to do on my routes to make this a "transaction" so that
> if
> > an
> > exception / incomplete transfer occures the incomplete files are getting
> > deleted on the out folder and the sender gets notified to retransmit the
> > file ?
> >
> > Thanks for your help
> >
> > yours
> >
> > Arnold
> >
> >
> >
> > --
> > View this message in context:
> >
> http://camel.465427.n5.nabble.com/Rollback-Transactions-for-File-operations-tp5762065.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
>
>
> --
> --
> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/Rollback-Transactions-for-File-operations-tp5762065p5762067.html
>  To unsubscribe from Rollback / Transactions for File operations, click
> here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5762065&code=YXJub2xkQG1hZGVydGhhbmVyLm1lfDU3NjIwNjV8LTE3MzYwMDY1NDk=>
> .
> 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/Rollback-Transactions-for-File-operations-tp5762065p5762068.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to