davsclaus commented on pull request #2831:
URL: https://github.com/apache/camel-k/pull/2831#issuecomment-994652743
About #2 then the oneOf thing with `to`, `toD`, `from` etc is the "hack"
that makes the yaml dsl less-verbose and similar to java dsl, where you specify
the endpoint uri in _inlined_ mode, eg
```
from: kafka:cheese
steps:
- to: kafka:wine
```
Otherwise if we did not have that, you had to do
```
from:
uri: kafka:cheese
steps:
- to:
uri: kafka:wine
```
(and fight more with how many spaces do I need to add/remove ... :)
--
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]