Camel / File component / Strange exception on producer with done file

2025-01-08 Thread Ephemeris Lappis
Hello. I'm testing routes that exist for a long time on new servers. We use Camel 3.22.1, with a Java 17 runtime. Executing several Camel contexts (14 in the last case) with a similar routes pattern more than 10 times, I have some few exceptions (3 in this test batch) that are very strange :

Camel / file component move file to "moveFailed" folder without log

2023-04-27 Thread Ephemeris Lappis
Hello. In camel routes that work for a long time, we sometimes have some file that is moved to the folder that is set on the "moveFailed" folder parameter, but without any log. As the component seems to move the file before the exchange is given to the route, our code can't log anything... We sus

Re: Camel File Component avoid rollback on specific cases

2022-08-18 Thread Jeremy Ross
You can either use noop=true and have your route move the file after done processing, or you could try adding an onComplete() that moves the file from the error folder back into the original folder. On Thu, Aug 18, 2022 at 12:27 AM Alexander Lex wrote: > Hi, > > I am using the c

Camel File Component avoid rollback on specific cases

2022-08-17 Thread Alexander Lex
Hi, I am using the camel file component for an inbox processing software. Files are read, parsed, enriched with metadata from an external service and finally moved to an output folder. When there is an exception with parsing the files, "moveFailed" is moving the files to an er

Re: Camel file component root path in Quarkus?

2021-06-22 Thread Claus Ibsen
Hi Yeah that is a good question. You can write some code that does new File(".").getAbsolutePath() and print that to system out etc. On Tue, Jun 22, 2021 at 1:33 PM Mikael Andersson Wigander wrote: > > Hi > > When developing and running/debugging a Spring Boot Camel Java application > the fil

Camel file component root path in Quarkus?

2021-06-22 Thread Mikael Andersson Wigander
Hi When developing and running/debugging a Spring Boot Camel Java application the file components root seems to be default to the project root (in IDEA anyhow). When converting to a Quarkus version the same path is now not applicable. Where is the "default root" for the file component when runn

Camel File Component stops consuming files sometimes

2020-07-08 Thread Anna Skirko
Hi. I'm having a pretty nasty issue with the app I'm responsible for. The app was running on osgi/karaf + spring + apache camel 2.14.1. I removed osgi/karaf, upgraded spring, and moved all that to the spring boot. Camel version was upgraded to 2.24.1. And we started to see some occasional perf.

Re: camel file component writing to persistent volume

2019-09-25 Thread Onder SEZGIN
>> The file component just use the java file api so whatever it can >> access you can use. >> >> Since you ask about persistence volumes do you think about kubernetes? >> >> On Fri, Sep 20, 2019 at 11:59 AM Onder SEZGIN >> wrote: >> > >> >

Re: camel file component writing to persistent volume

2019-09-25 Thread Onder SEZGIN
> The file component just use the java file api so whatever it can > access you can use. > > Since you ask about persistence volumes do you think about kubernetes? > > On Fri, Sep 20, 2019 at 11:59 AM Onder SEZGIN > wrote: > > > > Hi, > > > > is there

Re: camel file component writing to persistent volume

2019-09-22 Thread Claus Ibsen
Hi The file component just use the java file api so whatever it can access you can use. Since you ask about persistence volumes do you think about kubernetes? On Fri, Sep 20, 2019 at 11:59 AM Onder SEZGIN wrote: > > Hi, > > is there any example where camel-file component

camel file component writing to persistent volume

2019-09-20 Thread Onder SEZGIN
Hi, is there any example where camel-file component is accessing persistent volume and writing files? thanks Onder

Re: Camel file component URI dynamic options & Filter query

2016-02-02 Thread fxthomas
ing sequence 0 EVENT NOt KNOWN org.apache.camel.management.event.ExchangeSentEvent EXCHANGE COMPLETED null -- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5777145.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel file component URI dynamic options & Filter query

2016-02-02 Thread Claus Ibsen
DS > > > method="getSequence(${header.sourcename})" /> > > > > > > > > > > uri="bean:Dat

Re: Camel file component URI dynamic options & Filter query

2016-02-01 Thread fxthomas
-- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5777107.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel file component URI dynamic options & Filter query

2016-02-01 Thread fxthomas
DS -- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5777100.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel file component URI dynamic options & Filter query

2016-01-29 Thread Claus Ibsen
erent > bean object and not using the one I have defined in the XML. > > regards, > Felix T > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5776996.html >

Re: Camel file component URI dynamic options & Filter query

2016-01-29 Thread fxthomas
.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5776996.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel file component URI dynamic options & Filter query

2016-01-28 Thread fxthomas
thanks, will try that -- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5776884.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel file component URI dynamic options & Filter query

2016-01-27 Thread Claus Ibsen
You can use a singleton java bean to store the state of that sequence and then in the file route use that in a file filter to only pickup the correct file. You can implement a custom file filter, using the filter option, where you can then access that singleton bean to get that sequence number. Th

Camel file component URI dynamic options & Filter query

2016-01-27 Thread Felix Thomas
hello, I am trying to make a scenario execute using Camel Spring DSL . My idea is to processing some files in a numerical seq order from a folder , after processing a file I need to check for the next file sequence which need to be processed from DB. The logic of get the next sequen

Re: Camel File component for writing files

2015-10-12 Thread Sashika
, Sashika wrote: > Hi, > > I have a use case to use camel file component as a producer to write files. > In fact to append incoming messages to single file. > > What I observed so far is camel does not keep the file open. Instead it > open the file, append the content and clo

Re: Camel File component for writing files

2015-10-11 Thread Claus Ibsen
e case to use camel file component as a producer to write files. > In fact to append incoming messages to single file. > > What I observed so far is camel does not keep the file open. Instead it > open the file, append the content and closes the file. This is repeated for > every

Camel File component for writing files

2015-10-11 Thread Sashika
Hi, I have a use case to use camel file component as a producer to write files. In fact to append incoming messages to single file. What I observed so far is camel does not keep the file open. Instead it open the file, append the content and closes the file. This is repeated for every single

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-16 Thread niteshjain
cool, That worked for me. Thanks a lot. Regards, Nithesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765849.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-14 Thread yogu13
Please use this and let us know... Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765751.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-14 Thread niteshjain
p://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765750.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-14 Thread Claus Ibsen
gt; View this message in context: > http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765743.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: ci

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-14 Thread niteshjain
be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{=}] currently configured endpoint: -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread Claus Ibsen
ml* > You have configured the endpoint wrong. The ? should come before the & > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765738.html > Sent fr

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread niteshjain
se-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765738.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread Claus Ibsen
be moved. On Mon, Apr 13, 2015 at 2:53 PM, niteshjain wrote: > Wanted to know , how can i use camel file component to pattern match and get > the file ending with .xml and then later rename it to > filename.xml.processed. > > > http://camel.apache.org/schema/spring";&g

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread niteshjain
> -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765722.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread yogu13
Hi, do your xml files to be picked start with a dot "." ? The File Consumer will always skip any file whose name starts with a dot, such as ., .camel, .m2 or .groovy. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file

How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread niteshjain
Wanted to know , how can i use camel file component to pattern match and get the file ending with .xml and then later rename it to filename.xml.processed. http://camel.apache.org/schema/spring";> . tried *file:{{TEST_HOME}}/

Re: Camel file component picks up the file before permissions are set up

2014-10-15 Thread Andrew Block
from this method will prevent Camel from processing the message. - Andy On Wed, Oct 15, 2014 at 2:16 AM, karthik.subramanian2 < karthik.subramani...@target.com> wrote: > I have a camel file component which looks at a unix directory where files > are > copied every 10 mins through

Camel file component picks up the file before permissions are set up

2014-10-15 Thread karthik.subramanian2
I have a camel file component which looks at a unix directory where files are copied every 10 mins through an MFT process. The MFT transfers around 80 files every 10 mins and then again modifies the permissions on them. But before the permissions are modified, the camel file component picks it up

Re: AW: Camel File Component

2014-08-22 Thread sakchakravarthi
s we restricted route 1 for Done file filter should execute for Done files. If not please guide me how i can restrict routes to get specific files. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-File-Component-tp5755547p579.html Sent from the Camel - Users mailing

AW: Camel File Component

2014-08-22 Thread jhm
After that a content based router evaluating CAMEL_FILE_NAME? Jan > -Ursprüngliche Nachricht- > Von: Claus Ibsen [mailto:claus.ib...@gmail.com] > Gesendet: Freitag, 22. August 2014 09:13 > An: users@camel.apache.org > Betreff: Re: Camel File Component > > The incl

Re: Camel File Component

2014-08-22 Thread Claus Ibsen
uri="file://{{file.ihub.data}}?include=*.DONE"/> > > > > Please help me how to include *.json to second route > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Cam

Re: Camel File Component

2014-08-22 Thread sakchakravarthi
.nabble.com/Camel-File-Component-tp5755547p5755548.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel File Component

2014-08-22 Thread sakchakravarthi
.nabble.com/Camel-File-Component-tp5755547.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using Camel File component to Poll a directory (but not read the files)

2014-01-14 Thread Douglas Slattery
Hi Sanjay, Thanks for the quick response.  Here's the code for the route: public class DPUBFileProcessRoute extends RouteBuilder implements InitializingBean, DisposableBean {       public static final long READ_LOCK_TIMEOUT = 1;     public static final String DPUB_PRF_SVC_CD = "DPUB";     p

Re: Using Camel File component to Poll a directory (but not read the files)

2014-01-14 Thread Sanjay Bhattacharya
Nothing seems to be wrong with the code. Can you show the route? Thanks, Sanjay On Tue, Jan 14, 2014 at 4:51 AM, Douglas Slattery wrote: > Hi, > I'm not sure if this is the correct place to post > this, but I stumbled on it looking for an answer to my problem... > I have a wierd situation with

Using Camel File component to Poll a directory (but not read the files)

2014-01-13 Thread Douglas Slattery
Hi, I'm not sure if this is the correct place to post this, but I stumbled on it looking for an answer to my problem... I have a wierd situation with a Camel route file component where the content was being read and now does not appear to be so. I've observed the situation from the following cod

Re: Apache Camel File component preMove, move and moveFailed relative rather than absolute

2013-12-11 Thread richie.rivi...@gmail.com
ok. As long as this is the way it is meant to work. thank you. yes making your change worked. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-File-component-preMove-move-and-moveFailed-relative-rather-than-absolute-tp5744592p5744632.html Sent from the Camel

Re: Apache Camel File component preMove, move and moveFailed relative rather than absolute

2013-12-11 Thread kraythe .
.error=src/inbox/items/error > filename.item.trigger=NEWFILES.TRG > > I've actually tried this but the directory structure that was created was > nasty. lol > > thanks for your help. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Camel-File-component-preMove-move-and-moveFailed-relative-rather-than-absolute-tp5744592.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Apache Camel File component preMove, move and moveFailed relative rather than absolute

2013-12-10 Thread richie.rivi...@gmail.com
box/items/error filename.item.trigger=NEWFILES.TRG I've actually tried this but the directory structure that was created was nasty. lol thanks for your help. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-File-component-preMove-move-and-moveFailed-relativ

Re: Camel File component should not rename file when an exception is thrown

2013-10-28 Thread Claus Ibsen
file. > > I an using camel 2.12. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-File-component-should-not-rename-file-when-an-exception-is-thrown-tp5742284.html > Sent from the Camel - Users mailing list archive at Nabble.com. --

Camel File component should not rename file when an exception is thrown

2013-10-27 Thread talk2patel86
.nabble.com/Camel-File-component-should-not-rename-file-when-an-exception-is-thrown-tp5742284.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Correct use of idempotentKey in the Camel file component

2013-09-05 Thread Claus Ibsen
> > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Correct-use-of-idempotentKey-in-the-Camel-file-component-tp5738759.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - Red Hat, Inc. Email: cib...@r

Correct use of idempotentKey in the Camel file component

2013-09-05 Thread fransguelinckx
ng or does the documentation contain a mistake? Frans -- View this message in context: http://camel.465427.n5.nabble.com/Correct-use-of-idempotentKey-in-the-Camel-file-component-tp5738759.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using Camel File component to Poll a directory (but not read the files)

2013-08-19 Thread Dale King
any other component > that will help me achieve this? > > regards > D > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Using-Camel-File-component-to-Poll-a-directory-but-not-read-the-files-tp5737510.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Dale King

Re: Using Camel File component to Poll a directory (but not read the files)

2013-08-19 Thread Claus Ibsen
but I need > a notification message (with the file name) > > Is there a way to achieve this using File component? or any other component > that will help me achieve this? > > regards > D > > > > -- > View this message in context: > http://camel.465427.n5.nab

Using Camel File component to Poll a directory (but not read the files)

2013-08-19 Thread deepak_a
this message in context: http://camel.465427.n5.nabble.com/Using-Camel-File-component-to-Poll-a-directory-but-not-read-the-files-tp5737510.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel file component preMove creates directory before read lock acquired?

2013-04-03 Thread Claus Ibsen
ock the file will moved to the appropriate directory under temp. > > Am I doing something wrong, what is the behavior I should expect? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-file-component-preMove-creates-directory-before-read-lock

Re: Camel file component preMove creates directory before read lock acquired?

2013-04-01 Thread icemanltd
directory under temp. Am I doing something wrong, what is the behavior I should expect? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-component-preMove-creates-directory-before-read-lock-acquired-tp5728193p5730176.html Sent from the Camel - Users mailing list

Re: Camel file component preMove creates directory before read lock acquired?

2013-02-26 Thread icemanltd
context: http://camel.465427.n5.nabble.com/Camel-file-component-preMove-creates-directory-before-read-lock-acquired-tp5728193p5728197.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel File Component

2012-01-30 Thread Claus Ibsen
On Mon, Jan 30, 2012 at 1:15 PM, ckiran wrote: > Hi, > > Is the Camel File Component thread safe, can I use file component on the > server to append to a file, based on requests it recieves. > Yes if you use a fairly new version of Camel. We fixed that like 1 year ago or thereab

Camel File Component

2012-01-30 Thread ckiran
Hi, Is the Camel File Component thread safe, can I use file component on the server to append to a file, based on requests it recieves. -KC -- View this message in context: http://camel.465427.n5.nabble.com/Camel-File-Component-tp5441269p5441269.html Sent from the Camel - Users mailing list

Re: Camel File Component and the Splitter

2010-12-08 Thread Tarun Ramakrishna
Just please ignore the mail below and save me the embarassment. This will teach me not to send emails at 3:00am in the morning. Thanks, Tarun On Thu, Dec 9, 2010 at 3:07 AM, Tarun Ramakrishna wrote: > Hi all, > > I have a puzzler and I thought I would throw it to the list before > going into ca

Camel File Component and the Splitter

2010-12-08 Thread Tarun Ramakrishna
Hi all, I have a puzzler and I thought I would throw it to the list before going into camel debugging. I have a custom mapping processor that given an Exchange, takes its payload, split it to several payloads, creates an array list of byte[] and sets them back into the IN message of the exchange.

Re: Using camel file component within a jar to read a file

2009-09-28 Thread Claus Ibsen
ml_data_file is located within src/main/resources/data, and > is included in the jar's classpath. > > Is the syntax correct ? > > Are there any extra steps required to configure camel so it can locate the > file from whithin the jar? > > Thank you. > Alex. > -- &g

Using camel file component within a jar to read a file

2009-09-28 Thread alexbp
om whithin the jar? Thank you. Alex. -- View this message in context: http://www.nabble.com/Using-camel-file-component-within-a-jar-to-read-a-file-tp25652040p25652040.html Sent from the Camel - Users mailing list archive at Nabble.com.