janwesterkamp commented on issue #7085:
URL: https://github.com/apache/camel-quarkus/issues/7085#issuecomment-2697507341

   Why not? Do I have to add senseless statements only to fulfil your 
requirement, @davsclaus ?
   
   It was possible to do in 3.18.4, so 3.19.1 is introducing a breaking change 
here.
   
   Here my use case: I am checking a positive list of values with these 
statements and the .otherwhise() statement will catch all other values and 
breaks further processing (failing fast). I started this originally because the 
REST DSL had some limitations in input validation (might become better now), 
but now it's used for more complex checks too.. The validated values are 
further processed later in other routes (where the .when() statements contain 
actions).
   
   In my eyes, this is an valid use case and empty when() should be allowed in 
newer versions.


-- 
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-unsubscr...@camel.apache.org

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

Reply via email to