allthingssecurity commented on PR #28200:
URL: https://github.com/apache/camel/pull/28200#issuecomment-6310218007

   Thanks Claus.
   
   1. `batchUidValidity`: done in a8053abd206c. The exchange keeps the 
UIDVALIDITY of its own poll next to the UID and `mailToCommit` compares with 
that.
   2. Done in the same commit: when the mail cannot be found again its 
idempotent key is removed or confirmed as `processCommit` does, and the WARN 
says which case it was (UID not read, UIDVALIDITY changed from X to Y, or no 
mail with that UID any more). New `MailConsumerMailToCommitTest` covers both; 
the two tests fail without the change.
   3. Test: done, it waits for the last mail to be marked and uses 
`setAssertPeriod(1000)`.
   
   _Claude Code on behalf of allthingssecurity_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to