thewalk commented on issue #787:
URL: https://github.com/apache/camel-karavan/issues/787#issuecomment-1590427991
> have u tried this yaml in a java app, which camel version? I tried this in
my test env with camel version 3.20.0, it did not work, still got the error
message as you mentioned above "Node should have only have 1 key, was: 2 keys:
[id,steps] (Maybe this is an indent problem in the YAML source)."
>
> > Manually editing the YAML to this seems to have worked:
> > ```
> > - routeConfiguration:
> > intercept:
> > - id: intercept-6d50
> > intercept:
> > id: intercept-233
> > steps:
> > - log:
> > message: 'Intercepted: ${body}'
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > The designer doesn't render it but the good thing is that the designer
doesn't seem to be deleting anything.
below yaml should work for me. 'id' field made it a bad parsing.
`
- routeConfiguration:
intercept:
- intercept:
steps:
- log:
message: 'Intercepted: ${body}'
`
--
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]