[
https://issues.apache.org/jira/browse/CAMEL-19698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750447#comment-17750447
]
Claus Ibsen commented on CAMEL-19698:
-------------------------------------
I think luca added this oneline (he calls it inlined I think) later
> camel-yaml-dsl: Express "simple" and "expression.simple" are mutually
> exclusive if possible
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-19698
> URL: https://issues.apache.org/jira/browse/CAMEL-19698
> Project: Camel
> Issue Type: Task
> Components: camel-yaml-dsl
> Reporter: Tomohisa Igarashi
> Assignee: Luca Burgazzoli
> Priority: Major
>
> For example currently YAML DSL allows specifying both "simple" and
> "expression" under "when"
> {code:yaml}
> - from:
> uri: "timer:test"
> parameters:
> period: 3000
> steps:
> - when:
> simple: ${header.baz} != null
> expression:
> simple: ${header.baz} == null
> steps:
> - log: "test"
> {code}
> But at runtime only latter wins in this case. It would be nice if this
> exclusiveness could be expressed in the schema.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)