IdempotentRepository

2012-07-05 Thread Christian Lipp
last month or so on the server and I fetch on a daily base. To avoid that I am fetching files twice I want to use an IdempotentRepository implementation. I don't want to save each file in a database or in a text file because the service will run for years and this is just unnecessary data. W

Re: IdempotentRepository

2012-07-06 Thread Sam (Stephen Samuel)
aily base. > To avoid that I am fetching files twice I want to use an > IdempotentRepository implementation. I don't want to save each file in a > database or in a text file because the service will run for years and this > is just unnecessary data. > > What I want to store is

AW: IdempotentRepository

2012-07-06 Thread Christian Lipp
@gmail.com] Gesendet: Freitag, 06. Juli 2012 11:17 An: users@camel.apache.org Betreff: Re: IdempotentRepository "This operation is used if the option eager has been enabled." Take a look at that, that might be why confirm is not being called. On Fri, Jul 6, 2012 at 7:17 AM, Christian Lipp wr

Re: IdempotentRepository

2012-07-06 Thread Marco Westermann
etreff: Re: IdempotentRepository "This operation is used if the option eager has been enabled." Take a look at that, that might be why confirm is not being called. On Fri, Jul 6, 2012 at 7:17 AM, Christian Lippwrote: Hello! I am fetching files from a FTP server (severall GB for the ne

Re: IdempotentRepository

2012-07-06 Thread Sam (Stephen Samuel)
ileConsumer > Add, remove in GenericFileOnCompletion > > Regards, CL > > -Ursprüngliche Nachricht- > Von: Sam (Stephen Samuel) [mailto:samspad...@gmail.com] > Gesendet: Freitag, 06. Juli 2012 11:17 > An: users@camel.apache.org > Betreff: Re: IdempotentRepository > >

AW: IdempotentRepository

2012-07-06 Thread Christian Lipp
endet: Freitag, 06. Juli 2012 12:10 An: users@camel.apache.org Betreff: Re: IdempotentRepository Hi, I had a very similar problem. I wrote a little bean which writes the last number processed to a file. Another method gives me the last number processed. regards, Marco Am 06.07.2012 11:53, schrieb Chri

AW: IdempotentRepository

2012-07-06 Thread Christian Lipp
users@camel.apache.org Betreff: Re: IdempotentRepository eagerMaxMessagesPerPoll needs to be set to true. On Fri, Jul 6, 2012 at 10:53 AM, Christian Lipp wrote: > Do you mean " eagerMaxMessagesPerPoll" ? > I set it to false, but nothing changed. > > In the camel code I coul

Re: IdempotentRepository

2012-07-06 Thread Claus Ibsen
... > > I have only read rights and I am not the only consumer. This means that they > keep the last month or so on the server and I fetch on a daily base. To avoid > that I am fetching files twice I want to use an IdempotentRepository > implementation. I don't want to save each fil

AW: IdempotentRepository

2012-07-08 Thread Christian Lipp
me the route is executed, it copies the last directory again and I would like to solve this. Regards, Christian -Ursprüngliche Nachricht- Von: Claus Ibsen [mailto:claus.ib...@gmail.com] Gesendet: Freitag, 06. Juli 2012 15:04 An: users@camel.apache.org Betreff: Re: IdempotentRepository

AW: IdempotentRepository

2012-07-09 Thread Christian Lipp
I think using filter is not possible since I cannot detect the end of the transmission. An implementation of IdempotentRepository should work because - contains() works like filter.accept(): directories and files are handed over but since they are all strings I have to know the structure to

Re: IdempotentRepository

2012-07-09 Thread Claus Ibsen
On Mon, Jul 9, 2012 at 10:42 PM, Christian Lipp wrote: > I think using filter is not possible since I cannot detect the end of the > transmission. An implementation of IdempotentRepository should work because > > - contains() works like filter.accept(): directories and files are ha

Async IdempotentRepository

2015-02-25 Thread Behrad
Does camel support of any IdempotentRepository SPI that has async methods unlike https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/spi/IdempotentRepository.java ? I have implemented above interface on top of Couchbase API however I am using `Await` to block

ehcache based IdempotentRepository

2011-11-29 Thread David Karlsen
Would there be an interest for a Ehcache based MemoryIdempotentRepository ? I guess such an implementation should be implemented in camel-cache? -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

GenericFileConsumer and IdempotentRepository

2013-04-24 Thread swwyatt
Is there a reason why when GenericFileConsumer.isValidFile is called against a directory, IdempotentRepository.contains is called? This is causing issues in our IdempotentRepository implementation. v2.8.1 -- View this message in context: http://camel.465427.n5.nabble.com/GenericFileConsumer

Re: ehcache based IdempotentRepository

2011-11-29 Thread Frank Kootte
If any I would say give hazelcast a try 2011/11/29 David Karlsen > Would there be an interest for a Ehcache based MemoryIdempotentRepository ? > > I guess such an implementation should be implemented in camel-cache? > > -- > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen >

Re: GenericFileConsumer and IdempotentRepository

2013-04-24 Thread Claus Ibsen
l On Wed, Apr 24, 2013 at 8:12 PM, swwyatt wrote: > Is there a reason why when GenericFileConsumer.isValidFile is called against > a directory, IdempotentRepository.contains is called? This is causing issues > in our IdempotentRepository implementation. > > v2.8.1 > > >

Re: GenericFileConsumer and IdempotentRepository

2013-04-26 Thread Claus Ibsen
dFile is called against >> a directory, IdempotentRepository.contains is called? This is causing issues >> in our IdempotentRepository implementation. >> >> v2.8.1 >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Gener

IdempotentRepository key removal within OnException

2016-04-25 Thread mike.cunningham...@gmail.com
he repository cache when using 'seda' within the OnException? 2) is there an issue with using 'seda' within the OnException? Here is a snapshot of the routes: In MyRouteClass1 private IdempotentRepository duplicatesRepo = MemoryIdempotentRepository.memoryIdempote

inProgressRepository Not clearing for items in idempotentRepository

2013-11-04 Thread skelly
http://camel.apache.org/schema/spring";> ftp://me@localhost?password=&binary=true&recursive=true&consumer.delay=15000&readLock=changed&passiveMode=true&noop=true&idempotentRepository=#downloadRepo&idempoten

Example of JDBC idempotentRepository in Spring XML?

2016-04-25 Thread sc
I would like to track which files has been processed from FTP server in a MySQL Table. Thanks, -- View this message in context: http://camel.465427.n5.nabble.com/Example-of-JDBC-idempotentRepository-in-Spring-XML-tp5781683.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: inProgressRepository Not clearing for items in idempotentRepository

2013-11-05 Thread Claus Ibsen
gt; > uri="ftp://me@localhost?password=&binary=true&recursive=true&consumer.delay=15000&readLock=changed&passiveMode=true&noop=true&idempotentRepository=#downloadRepo&idempotentKey=$simple{file:name}-$simple{file:modified}"; >

Re: inProgressRepository Not clearing for items in idempotentRepository

2013-11-05 Thread skelly
ilter for this which implements the idempotent behavior? -- View this message in context: http://camel.465427.n5.nabble.com/inProgressRepository-Not-clearing-for-items-in-idempotentRepository-tp5742613p5742658.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: inProgressRepository Not clearing for items in idempotentRepository

2013-11-05 Thread skelly
ms-in-idempotentRepository-tp5742613p5742676.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Example of JDBC idempotentRepository in Spring XML?

2016-04-25 Thread sc
-idempotentRepository-in-Spring-XML-tp5781683p5781687.html Sent from the Camel - Users mailing list archive at Nabble.com.