Hi Claus,

Thank you - I just got the book.

Christine Vladic

-----Original Message-----
From: Claus Ibsen [mailto:[email protected]] 
Sent: Tuesday, November 21, 2017 4:31 AM
To: [email protected]
Subject: Re: Multiple instance of a camel service

Hi

If you have a copy of the Camel in Action 2nd ed book, then we have a full 
chapter on clustering Camel that covers use-cases like this.

On Tue, Nov 21, 2017 at 1:07 PM, Zoran Regvart <[email protected]> wrote:
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__camel.apache.org_
> idempotent-2Dconsumer.html&d=DwIFaQ&c=8cFkWstqZYH09bQ2dZGSn7GyHTMJxzHA
> LGGH69mOKEE&r=YBTWivlmxEA_jW7QqPA5MOszJZ4ISTDk5QEuCBOv6m0&m=2-ExYsCWaS
> qDafKNQp9mMvv3kk0xl-Fcb7dMcdD86E0&s=mhUezEzK-6Mwjgl9DA5DQa32lzx99DJKEv
> 91Q6jQmcw&e= [2] 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__camel.apache.org_
> hazelcast-2Didempotent-2Drepository-2Dtutorial.html&d=DwIFaQ&c=8cFkWst
> qZYH09bQ2dZGSn7GyHTMJxzHALGGH69mOKEE&r=YBTWivlmxEA_jW7QqPA5MOszJZ4ISTD
> k5QEuCBOv6m0&m=2-ExYsCWaSqDafKNQp9mMvv3kk0xl-Fcb7dMcdD86E0&s=w4OJBuBra
> r60lglsJv3TQSOsdM2S8ImimN19j-atEZw&e=
>
> On Fri, Nov 17, 2017 at 4:34 AM, Christine Vladic 
> <[email protected]> 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



--
Claus Ibsen
-----------------
https://urldefense.proofpoint.com/v2/url?u=http-3A__davsclaus.com&d=DwIFaQ&c=8cFkWstqZYH09bQ2dZGSn7GyHTMJxzHALGGH69mOKEE&r=YBTWivlmxEA_jW7QqPA5MOszJZ4ISTDk5QEuCBOv6m0&m=2-ExYsCWaSqDafKNQp9mMvv3kk0xl-Fcb7dMcdD86E0&s=iN9mFCozEIBRbFIJ-PfDTraiE9pSYMkF9IS6vQQSuKM&e=
 @davsclaus Camel in Action 2: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.manning.com_ibsen2&d=DwIFaQ&c=8cFkWstqZYH09bQ2dZGSn7GyHTMJxzHALGGH69mOKEE&r=YBTWivlmxEA_jW7QqPA5MOszJZ4ISTDk5QEuCBOv6m0&m=2-ExYsCWaSqDafKNQp9mMvv3kk0xl-Fcb7dMcdD86E0&s=oHcKzinKoUzzYEXnNuog7kAoobrGKovfTKloowf1Eig&e=

Reply via email to