You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by contactreji <co...@gmail.com> on 2016/08/18 06:04:28 UTC

Camel idempotent // TTL

Hello guys

Is there a way we can define a lifetime or a TTL for a duplicate message.
There are chances I might have to remove duplicates which come in a span of
6 hours. And after 6 hours I might need to allow the message with same key.

Reji



-----
Reji Mathews
Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse ESB | Mule ESB )
LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a
Twitter - reji_mathews
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-idempotent-TTL-tp5786550.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel idempotent // TTL

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Not out of the box.

You can add your own idempotent repository that keeps track of age,
and then removes > 6h.



On Thu, Aug 18, 2016 at 8:04 AM, contactreji <co...@gmail.com> wrote:
> Hello guys
>
> Is there a way we can define a lifetime or a TTL for a duplicate message.
> There are chances I might have to remove duplicates which come in a span of
> 6 hours. And after 6 hours I might need to allow the message with same key.
>
> Reji
>
>
>
> -----
> Reji Mathews
> Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse ESB | Mule ESB )
> LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a
> Twitter - reji_mathews
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-idempotent-TTL-tp5786550.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2