davsclaus commented on pull request #5810:
URL: https://github.com/apache/camel/pull/5810#issuecomment-876369721


   Thanks for starting working on this.
   
   One thing I would like to avoid was to introduce a new defintion for just 
this "not so common" use-case.
   If we had use for OnSuccess and OnFailure in other EIPs etc then it could 
make sense, like we have with OnWhen.
   
   The model already allows to add multiple OnCompletion, so we could also look 
at using the model as it is, as you can add 2 x onCompletion and have it as 
onSuccessOnly and onFailureOnly. Its more the reifier / processor logic that 
then needs to deal with this, and that is a bit deeper how to do that.


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