Hi

Camel's error handler with redelviery happens at the point the error
was, so it ought not to restart from the top, and cause any idempotent
consumer to change anything.
But we can't help you unless you put a sample project together and
post it on github or attach a .zip file to a JIRA or something like
that.


On Mon, May 24, 2021 at 12:43 PM Gv, Shivakumar <shivakumar...@lowes.com> wrote:
>
> Hi Claus,
>
> I am using camel 3.7.0.
> Consumer is kafka
>
> Retry I mentioned was camel OnException retry as below  . Not from kafka poll.
>
> onException(java.lang.Exception.class)
> .handled(true)
> .maximumRedeliveries(3)
> .redeliveryDelay(60000)
>
> Thanks,
> Shiva
>
> -----Original Message-----
> From: Claus Ibsen <claus.ib...@gmail.com>
> Sent: Friday, May 21, 2021 10:48 AM
> To: users@camel.apache.org
> Subject: [EXTERNAL] Re: manually committing message ID to JDBC idempotent 
> repository
>
> *EXTERNAL SENDER*
>
>
> Hi
>
> Can you tell more, what Camel version do you use, and what is the consumer of 
> your route (eg what is the from).
> And when you say a couple of retries, does it start all over again, eg the 
> consumer does a new poll and attempt to process the message again or what?
>
> On Wed, May 19, 2021 at 1:18 PM Gv, Shivakumar <shivakumar...@lowes.com> 
> wrote:
> >
> > Hi Team,
> >
> > We are using JDBC  Idempotent repository in our project . recently we ran 
> > into a issue where the exchange failed in first run and after couple of  
> > retry  it was success .
> > But the idempotent consumer removed message ID from JDBC table , since 
> > exchange failed first time.
> >
> > .idempotentConsumer(simple("${header.kafka.TOPIC}_${header.kafka.PARTITION}_${header.kafka.OFFSET}"))
> >                                         
> > .messageIdRepositoryRef("IdempotentRepo")
> >                                         .eager(true)
> >                                         .completionEager(false)
> >                                         .skipDuplicate(false)
> >
> > Is there a way to manually insert message ID into repository in code at the 
> > end of my route. rather than being driven by properties eager and 
> > CompletionEager.
> >
> > Thanks,
> > shiva
> > ________________________________
> > NOTICE: All information in and attached to the e-mails below may be 
> > proprietary, confidential, privileged and otherwise protected from improper 
> > or erroneous disclosure. If you are not the sender's intended recipient, 
> > you are not authorized to intercept, read, print, retain, copy, forward, or 
> > disseminate this message. If you have erroneously received this 
> > communication, please notify the sender immediately by phone (704-758-1000) 
> > or by e-mail and destroy all copies of this message electronic, paper, or 
> > otherwise. By transmitting documents via this email: Users, Customers, 
> > Suppliers and Vendors collectively acknowledge and agree the transmittal of 
> > information via email is voluntary, is offered as a convenience, and is not 
> > a secured method of communication; Not to transmit any payment information 
> > E.G. credit card, debit card, checking account, wire transfer information, 
> > passwords, or sensitive and personal information E.G. Driver's license, 
> > DOB, social security, or any other information the user wishes to remain 
> > confidential; To transmit only non-confidential information such as plans, 
> > pictures and drawings and to assume all risk and liability for and 
> > indemnify Lowe's from any claims, losses or damages that may arise from the 
> > transmittal of documents or including non-confidential information in the 
> > body of an email transmittal. Thank you.
>
>
>
> --
> Claus Ibsen
> -----------------
> https://urldefense.com/v3/__http://davsclaus.com__;!!OUOUp-U!p8ig-e_VfXuDPk39fMlCfPq_VYK5zI-wIZaPJVJTv2fkRT7EPSiNsTSERzE1CJYq5xM$
>   @davsclaus Camel in Action 2: 
> https://urldefense.com/v3/__https://www.manning.com/ibsen2__;!!OUOUp-U!p8ig-e_VfXuDPk39fMlCfPq_VYK5zI-wIZaPJVJTv2fkRT7EPSiNsTSERzE19XpKo9A$
> ________________________________
> NOTICE: All information in and attached to the e-mails below may be 
> proprietary, confidential, privileged and otherwise protected from improper 
> or erroneous disclosure. If you are not the sender's intended recipient, you 
> are not authorized to intercept, read, print, retain, copy, forward, or 
> disseminate this message. If you have erroneously received this 
> communication, please notify the sender immediately by phone (704-758-1000) 
> or by e-mail and destroy all copies of this message electronic, paper, or 
> otherwise. By transmitting documents via this email: Users, Customers, 
> Suppliers and Vendors collectively acknowledge and agree the transmittal of 
> information via email is voluntary, is offered as a convenience, and is not a 
> secured method of communication; Not to transmit any payment information E.G. 
> credit card, debit card, checking account, wire transfer information, 
> passwords, or sensitive and personal information E.G. Driver's license, DOB, 
> social security, or any other information the user wishes to remain 
> confidential; To transmit only non-confidential information such as plans, 
> pictures and drawings and to assume all risk and liability for and indemnify 
> Lowe's from any claims, losses or damages that may arise from the transmittal 
> of documents or including non-confidential information in the body of an 
> email transmittal. Thank you.



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

Reply via email to