RE: Camel fails to rename/delete the source file

2022-03-07 Thread Reto Peter
Hi Super. That works!!! -Original Message- From: Claus Ibsen Sent: Monday, March 7, 2022 6:03 PM To: users@camel.apache.org Subject: Re: Camel fails to rename/delete the source file Hi Yes it depends what smooks does, but you can change the message body from a file / input stream

Re: Camel fails to rename/delete the source file

2022-03-07 Thread Claus Ibsen
just the file content? > Sorry, I am a Camel beginner. > > Regards Reto > > -Original Message- > From: Claus Ibsen > Sent: Monday, March 7, 2022 4:41 PM > To: users@camel.apache.org > Subject: Re: Camel fails to rename/delete the source file > > Hi > > T

RE: Camel fails to rename/delete the source file

2022-03-07 Thread Reto Peter
: Claus Ibsen Sent: Monday, March 7, 2022 4:41 PM To: users@camel.apache.org Subject: Re: Camel fails to rename/delete the source file Hi That is because you do something in the custom processor that locks the file. You need to make sure you close the file / input stream etc that you may be doing

Re: Camel fails to rename/delete the source file

2022-03-07 Thread Claus Ibsen
Hi That is because you do something in the custom processor that locks the file. You need to make sure you close the file / input stream etc that you may be doing. On Mon, Mar 7, 2022 at 9:14 AM Reto Peter wrote: > > I am trying to convert an EDIFACT file into an XML file. > > The conversion is

Camel fails to rename/delete the source file

2022-03-07 Thread Reto Peter
I am trying to convert an EDIFACT file into an XML file. The conversion is done with smooks. The conversion works fine. The target file is successfully converted and also written to the disk. The problem arises after when Camel try to move the file to the .camel subdir. The source file is copied t