graben commented on PR #7686: URL: https://github.com/apache/camel/pull/7686#issuecomment-1142442905
Hi @davsclaus, thanks for your feedback. IMHO, modelling exception handling is not powerful enough if you need more complex error handling. For example, if you need to evaluate DB error codes, you have no chance because you always get the same SQL exception class. Unfortunately, the actual implementation of RedeliveryTask has no real API / factory that could be customized for special purposes. The easiest way I found was the suggested one with temporal exchange properties set by an OnExceptionOccurred processor. I tried to keep the change as most noninvasive as possible. Maybe you see a better way? -- 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]
