Re: OOM issue due to MemoryIdempotentRepository

2014-02-17 Thread Chirag Dewan
doneUoW the inprogressRepository cache is cleared. Which is not getting cleared at the moment(the reason I believe is causing the . Is there a possibility that doneUoW is not working as it should? Thanks . Chirag  From: Claus Ibsen To: "

Re: OOM issue due to MemoryIdempotentRepository

2014-02-17 Thread Chirag Dewan
doneUoW the inprogressRepository cache is cleared. Which is not getting cleared at the moment(the reason I believe is causing the OOM) . Is there a possibility that doneUoW is not working as it should? Thanks . Chirag  From: Chirag Dewan To: "

Re: OOM issue due to MemoryIdempotentRepository

2014-02-20 Thread Chirag Dewan
ate.doneUoW(exchange);             i++;                    }                 template.stop(); Even on profiling this I see a thread being created for every file consumed by the template. And the memory continous to grow. Thanks. Chirag Dewan        From: Claus Ibsen

Re: OOM issue due to MemoryIdempotentRepository

2014-02-20 Thread Chirag Dewan
And when I call template.stop(),all the threads are destroyed. From: Chirag Dewan To: "users@camel.apache.org" Sent: Thursday, 20 February 2014 3:23 PM Subject: Re: OOM issue due to MemoryIdempotentRepository Hi Claus, Sorry for the late reply

Re: OOM issue due to MemoryIdempotentRepository

2014-02-20 Thread Chirag Dewan
created. Is there a better way of doing this?  And also the memory consumed by MemoryIdempotentRepository,could this be the reason for that? Thanks Chirag From: Claus Ibsen To: "users@camel.apache.org" Sent: Thursday, 20 February 2014 3:46

Re: OOM issue due to MemoryIdempotentRepository

2014-02-21 Thread Chirag Dewan
Java file reading here. Thanks a lot for you help. Chirag Dewan From: Chirag Dewan To: "users@camel.apache.org" Sent: Thursday, 20 February 2014 4:06 PM Subject: Re: OOM issue due to MemoryIdempotentRepository Hi, After setting the max cache fo

Re: Error handler to both logger and dead letter queue?

2014-03-27 Thread Chirag Dewan
Hi, You can try the log component. http://camel.apache.org/log.html BR, Chirag From: Rural Hunter To: users@camel.apache.org Sent: Wednesday, 26 March 2014 7:20 AM Subject: Error handler to both logger and dead letter queue? Hi, I configured the

pollEnrich all the files in a directory

2014-05-04 Thread Chirag Dewan
eateProducerTemplate().sendBody("seda:abc",null/""); BR, Chirag Dewan

Re: pollEnrich all the files in a directory

2014-05-04 Thread Chirag Dewan
Hi Claus, Thanks for the quick reply. I have to consume all the files upon a command,and then stop the route from continuously polling the files untill the next command comes. So,can I also stop the control bus once all my files are consumed? Maybe from within the route? BR, Chirag Dewan

FTPConsumer with streamdownload=true not able to produce file

2014-06-09 Thread Chirag Dewan
that the consumer thread is running,but there is an InvalidPayloadException in File Producer. Now,do I need to use stream caching? I do not re-read the stream in this route. My onException route only logs the exception. Thanks Chirag

A basic query with using Direct Component

2014-06-18 Thread Chirag Dewan
by a HDFS consumer who fail to poll the .opened file. BR, Chirag

Re: A basic query with using Direct Component

2014-06-18 Thread Chirag Dewan
Hi Claus, Thanks for response. I am using Camel 2.12.1 with camel-hdfs 2. Yes,that is the problem. Write operation fails and .opened file is still there on HDFS. Is there any option through which I can skip creating .opened file? Chirag From

Re: How to transfer folder to another ftp server.

2014-06-19 Thread Chirag Dewan
Hi, You want the exact same folder structure to be created on the destination server? If not,you can use recursive property of File component. It will poll the files in sub folders too. Chirag From: skasish To: users@camel.apache.org Sent: Thursday, 19

Re: A basic query with using Direct Component

2014-06-19 Thread Chirag Dewan
try and use an empty string suffix for the consumer route so that it does not ignore files. Thanks for the assistance. Chirag From: Claus Ibsen To: "users@camel.apache.org" Sent: Thursday, 19 June 2014 12:16 PM Subject: Re: A basic query with us

Using Stream Caching with FTP Consumer

2014-07-28 Thread Chirag Dewan
body. Now I have enabled Stream Caching on this route and the body is a cached object rather than a GenericFile. Is there any way I can get the file meta data like file size,timestamp etc without referring to the body? I am using Camel 2.12.1. Thanks! Chirag

Re: Using Stream Caching with FTP Consumer

2014-07-28 Thread Chirag Dewan
Thanks Claus. The header are also available for FTP Consumer. I am under a impression that they are applicable only for File Consumer. Thanks! Chirag From: Claus Ibsen To: "users@camel.apache.org" Sent: Monday, 28 July 2014 2:05 PM Subject:

Cached temp files not deleted when StreamCaching is enabled

2014-07-30 Thread Chirag Dewan
f files are picked from FTP server. I did ran through a couple of earlier mails and JIRA as well regarding the same issue. Is this thing fixed? I am using Camel 2.12.0 Thanks! Chirag

Re: Cached temp files not deleted when StreamCaching is enabled

2014-08-06 Thread Chirag Dewan
cached diectory is now generated inside temp with the pattern camel-tmp-#uuid,earlier it was created in root with tmpcamel-temp-#uuid which might be due to missing file separator. But this directory is not deleted,which is desired. Thanks! Chirag From: Claus

Re: Cached temp files not deleted when StreamCaching is enabled

2014-08-06 Thread Chirag Dewan
Hi Claus, I have stopped my application,thus stopping CamelContext. But still I can see the Spool directory. Dont know if I am doing something wrong. Can this be a permissions issue? Would it help if I configure my Spool diectory to somewhere other than tmp ? Thanks! Chirag

Re: Cached temp files not deleted when StreamCaching is enabled

2014-08-06 Thread Chirag Dewan
something else? On Wed, Aug 6, 2014 at 12:47 PM, Chirag Dewan wrote: > Hi Claus, > > I have stopped my application,thus stopping CamelContext. But still I can see > the Spool directory. > > > Dont know if I am doing something wrong. Can this be a permissions issue? > Wou

Uncaught CamelRuntimeException in HDFS

2014-08-31 Thread Chirag Dewan
exception and make sure that the file on FTP server is not deleted(route completion is not invoked). I think I can catch the exception by onException(CamelRuntimeException) in my route. But what should I do afterwards that the worker doesnt die? Thanks! Chirag

Re: Uncaught CamelRuntimeException in HDFS

2014-09-01 Thread Chirag Dewan
Hi Claus, I am using camel-hdfs. I added this to my route : onException( RuntimeCamelException.class ).markRollbackOnly().handled( true ).stop(); Now my process does not die but the file is deleted from the source anyhow. Thanks! Chirag From: Claus Ibsen

Issue with special characters in file for Camel HDFS

2014-09-12 Thread Chirag Dewan
ull). Now,only solution I can think of is by only encoding the file name,keeping the rest of the path as is. For example : hdfs://ip:port/abc%7D123.txt Does anyone else faced a similar issue? Is it a bug in HDFS for files with special characters? Any better solution for this? Thanks! Chirag

Re[2]: Using camel-main, xml route, referencing a java class as processor

2022-01-17 Thread Chirag Sanghavi
passing registry. -- Original Message -- From: "Claus Ibsen" To: users@camel.apache.org Sent: 1/17/2022 4:38:12 AM Subject: Re: Using camel-main, xml route, referencing a java class as processor What camel version do you use On Mon, Jan 17, 2022 at 9:27 AM Chirag wrote:

<    1   2