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

   Thanks Claus. Two commits:
   
   - a4faed47: a failed mark is recorded under the folder lock and passed to 
the exception handler only after `commit` releases the lock, so with 
`bridgeErrorHandler=true` neither the next poll nor `doStop` waits on the error 
route. A direct call without the lock still reports at once. 
`MailConsumerCommitErrorWithoutLockTest` checks the lock is not held in the 
handler (it fails without the change). The 4.24 upgrade guide has an entry with 
the three points.
   - 6b966433: `commit` also passes the recorded error when settling the 
idempotent key then throws (an idempotentRepository that is down), after the 
unlock, and then rethrows as before. A test covers it with a repository whose 
`remove` throws. The guide now says only a mail still in the folder is routed 
again, not an expunged one.
   


-- 
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