[
https://issues.apache.org/jira/browse/CAMEL-21967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-21967:
--------------------------------
Fix Version/s: 4.10.4
> camel-jbang - Transform route to yaml with CBR cannot load into Karavan
> -----------------------------------------------------------------------
>
> Key: CAMEL-21967
> URL: https://issues.apache.org/jira/browse/CAMEL-21967
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.10.4, 4.12.0
>
>
> The route dump
> {code:java}
> - route:
> from:
> uri: timer
> parameters:
> timerName: java
> period: "{{time:1000}}"
> steps:
> - setBody:
> simple:
> expression: "Hello Camel from ${routeId}"
> - choice:
> steps:
> - when:
> simple:
> expression: "${header.foo} == 'bar'"
> steps:
> - to:
> uri: direct
> parameters:
> name: bar
> - otherwise:
> steps:
> - to:
> uri: direct
> parameters:
> name: cheese
> - log:
> message: "${body}" {code}
> Cannot be loaded into Karavan or Kaoto. It may be the predicates that should
> be in the long form
> expression
> simple
> expression
> or something.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)