squakez commented on pull request #2217:
URL: https://github.com/apache/camel-k/pull/2217#issuecomment-823319894


   With 7ec6d0eba55f968686f66758f6e025cf215af73b I am introducing a more 
complex spec for an error handler (adding `type` and `configuration`). If the 
`type` is `dead-letter-channel`, then, an `endpoint` `ref` or `uri` can be used 
to deliver those messages (including another `kamelet`). This will cover the 
use case of a user willing to use a DLC with another kamelet.
   
   Then, I've introduced a new trait, whose goal is to detect the presence of 
an error handler and create an error handler source type with the configuration 
provided by the user (according to the `type` right now, but I plan to include 
more `configuration`). This source will be used by the runtime as a default 
error handler as specified by https://github.com/apache/camel-k-runtime/pull/648
   
   Please, consider it's still WIP, but I'll be happy to receive comments. cc 
@nicolaferraro @lburgazzoli 


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

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


Reply via email to