Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
In this class org.apache.camel.dsl.yaml.deserializers.RouteConfigurationDefinitionDeserializer
Then there is an option for "error-handler" which refers to the 5+ error handlers we have in Camel.
In the schema then it looks like its an array where you can use 0..n of them.
But the realitiy is that you can choose to use only one of them. So either you use default error handler, or you use dead letter channel, and not both of them.
The new oneOf in the @YamlProperty may be useful if we can make it generate correct yaml schema output. Or we need to adjust the generator source to make this work.
Attachments
Issue Links
- relates to
-
CAMEL-19698 camel-yaml-dsl: Express "simple" and "expression.simple" are mutually exclusive if possible
-
- Resolved
-