davsclaus commented on pull request #2831:
URL: https://github.com/apache/camel-k/pull/2831#issuecomment-994663649
If end users do not write the yaml dsl by hand, then we could maybe not have
this _inlined_ and be more verbose. And tooling can maybe also better
parse/generate the yaml if its specified via `parameters`, and `uri` objects.
Having to use `uri` is however mandatory in XML but its a bit less verbose,
or intuitive, as its in the xml tag:
```
<from uri="kafka:cheese"/>
```
vs
```
from:
uri: kafka:cheese
```
Also what if you combine oneOf with parameters - that is not possible
accroding to the schema, but wonder if the yaml parser can parse it anyway
```
from: kafka:cheese
parameters:
client-id: 1234
commit-timeout-ms: 10000
```
--
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]