camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Regvart <zo...@regvart.com>
Subject Re: Multiple instance of a camel service
Date Tue, 21 Nov 2017 12:07:30 GMT
Hi Christine,
I think you need idempotent consumer pattern[1], with this you can
track in an external repository (multiple supported) what messages are
processed. There is also a nice tutorial on how to use this pattern
with Hazelcast[2]

zoran

[1] https://camel.apache.org/idempotent-consumer.html
[2] https://camel.apache.org/hazelcast-idempotent-repository-tutorial.html

On Fri, Nov 17, 2017 at 4:34 AM, Christine Vladic
<Christine.Vladic@standard.com> wrote:
> Hi,
>
> I have a quartz camel service that invokes a REST API that returns a binary data.  This
service will be deployed in a clustered node thus multiple instances will  invoke the same
REST API and gets the same payload.  Question, is there a camel pattern or component that
can prevent instances of the same camel service processing the same data.
>
> Thank you,
> Chris



-- 
Zoran Regvart

Mime
View raw message