We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According the YAML DSL schema it's possible to define some steps directly with the string instead of step parameters, e.g:
- setExchangePattern: pattern - convertBodyTo: string - removeHeader: header - removeProperties: props.* - toD: direct:a ``` instead of ```yaml - setExchangePattern: pattern:inOnly - convertBodyTo: type: string - removeHeader: name: header - removeProperties: pattern: props.* - toD: uri:direct:a
It seems that Kaoto is recognising only steps with uri, and expressions and dataformat.
This might be quite hard but I believe I'd be nice to recognise steps which required attributes can be defined using string.
Related to: #2084
- route: id: route-2517 from: id: from-2423 uri: timer parameters: period: "1000" timerName: template steps: - log: ${body} - loadBalance: steps: - to: direct:a customLoadBalancer: new - setExchangePattern: inOnly - convertBodyTo: string
No response
The text was updated successfully, but these errors were encountered:
There's still an issue that we need to consider for the next PR:
Starting with this XML route
<camel> <route id="route-8014"> <from id="from-8738" uri="timer:template?period=1000"/> </route> <beans> <bean name="hola" type="org.slf4j.Logger"> <constructors> <constructor value="value-0"/> <constructor value="value-1"/> </constructors> </bean> </beans> </camel>
Going to YAML, we see this:
- route: id: route-8014 from: id: from-8738 uri: timer:template?period=1000 steps: [] - beans: - constructors: "0": value-0 "1": value-1 name: hola type: org.slf4j.Logger
Notice how the URI in the from tag is not parsed into parameters.
from
Sorry, something went wrong.
No branches or pull requests
Describe the Bug
According the YAML DSL schema it's possible to define some steps directly with the string instead of step parameters, e.g:
It seems that Kaoto is recognising only steps with uri, and expressions and dataformat.
This might be quite hard but I believe I'd be nice to recognise steps which required attributes can be defined using string.
Related to: #2084
Steps to Reproduce the Bug or Issue
Screenshots or Videos
No response
Platform
The text was updated successfully, but these errors were encountered: