camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Brosich <abros...@ogs.trieste.it>
Subject Re: Consume the same file
Date Thu, 14 Mar 2013 15:42:13 GMT
On Wed, 2013-03-13 at 17:31 +0100, Claus Ibsen wrote:
> On Wed, Mar 13, 2013 at 3:54 PM, Alberto Brosich
> <abrosich@ogs.trieste.it> wrote:
> >
> > Hi,
> >
> > I have to consume with the FTP component always the same file but only when
> > its size changes.
> > I read this in the documentation:
> >
> > Camel 2.11: To use a custom idempotent key. By default the absolute path of
> > the file is used. You can use the File Language, for example to use the file
> > name and file size, you can do:
> >
> > idempotentKey=${file:name}-${file:size}
> >
> > Does it mean that I have to wait camel 2.11 to solve my problem?
> >
> 
> No, you can implement your own idempotent repository where you can do
> your own logic for determining if a message is a duplicate or not.
> 
> But yeah this is much easier out of the box in Camel 2.11 with that
> new idempotentKey option.

Many thanks.

Any prevision about the release date of 2.11 (I mean weeks, months)?

Best regards

Alberto 

> 
> > Regards
> >
> > Alberto
> 
> 
> 



Mime
View raw message