You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/11/08 10:23:10 UTC

[GitHub] [camel-k] astefanutti commented on issue #2724: ErrorHandler for stopping a route when an error occurs

astefanutti commented on issue #2724:
URL: https://github.com/apache/camel-k/issues/2724#issuecomment-963008931


   While currently the "last error" concept is only implemented for route lifecycle operations, my understanding is that it's generic and not limited to route lifecycle:  
   
   https://github.com/apache/camel/blob/1b374423fb9371075184d5ab2d9c3b15015b2334/core/camel-api/src/main/java/org/apache/camel/health/HealthCheck.java#L111
   
   Intuitively, when the decision is taken to stop a route because an error during the processing of an exchange occurred, I would expect the error details to be reported as well in the health check result, as an explanation of the `DOWN` status.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org